nfarina / homebridge-dummy

Dummy switches for Homebridge: https://github.com/nfarina/homebridge
262 stars 82 forks source link

Feature request: dimmer option to set timeout #78

Open sslupsky opened 1 year ago

sslupsky commented 1 year ago

Wondering if it would be possible to implement a feature of the dimmer that would allow the user to use the dimmer to set the timeout? That is, when the dimmer is turned on, the timer is set according to the dimmer value instead of a fixed value and counts down as the stateful timer does.

mkz212 commented 1 year ago

I can write such a code for you, just tell me what values ​​should such a dimmer take? Out of curiosity, what purpose would such a solution serve?