esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
413 stars 26 forks source link

Enable/disable timer as in typical normal rollerblind switches (enable/disable a group of "on_time" entries) #2753

Open starbrights opened 3 months ago

starbrights commented 3 months ago

Describe the problem you have/What new integration you would like I replace an standard roller shutter switch by one with ESPhome. Could mananged to get it working, even with usual timers. My old one has timers, that can be enabled/disabled by a key on device. For instance to not run a Weekday timer on a holiday. I want to implement a enable/disable timer by long press on stop-key. My idea about would be an dependency of each o_time from a status of a variable.

Please describe your use case for this integration and alternatives you've tried: To solve my standard behaviour I programmed a few "one_time:"-entries, for morning/evening on workday/weekend. I know that usually the programming of homeautomatisation is responsible for this. Call it a fallback if the original control (by server) might now work. Beside that my wife wants to have this feature local on device, without need to interact with openHAB (in our case).

Additional context Would be great to have a condition variable to enable/disable the hole set of (in my case 4 on_time) timers. If this is already possible with no big hassle, than I am sorry - maybe you can give me a hint how to solve that. Additional it would be great to set this timers by mqtt, don't know how to set such a number of timer settings in an efficient way.

nagyrobi commented 3 months ago

You could add a binary sensor to be toggled with longpress. Ant then include it in the timer automations with if.