Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to use lambda in duration timers of Feedback Cover #3022

Open
nearha opened this issue Jan 10, 2025 · 0 comments
Open

Allow to use lambda in duration timers of Feedback Cover #3022

nearha opened this issue Jan 10, 2025 · 0 comments

Comments

@nearha
Copy link

nearha commented Jan 10, 2025

Describe the problem you have/What new integration you would like

I would like to request the ability to use templates or lambda functions to modify the max_duration, open_duration, and close_duration parameters dynamically in the "Feedback Cover" component. This would allow these parameters to be adjusted through the UI or via automation on the ESP, offering more flexibility in controlling the cover’s behavior.

Please describe your use case for this integration and alternatives you've tried:

Currently, the max_duration, open_duration, and close_duration values are fixed and cannot be dynamically adjusted. I would like to be able to change these values based on certain conditions or automations, without needing to manually edit the configuration file. This would be useful for adjusting the timing of the cover's movement based on factors such as temperature, system load, or user input.

For example:

I want to use a slider in the UI to adjust the open_duration in real-time.
I need an automation to adjust the max_duration depending on the status of other devices or sensors.

I have tried using static values, but this approach lacks the flexibility I need.

Additional context

Allowing these parameters to be controlled dynamically via templates or lambdas would provide users with more control over the behavior of the "Feedback Cover" component, especially in environments where conditions may change and adjustments are required without needing to reboot or manually change the configuration.

If these changes require a restart of the board to be correctly registered, that would also help resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant