benleb / ad-automoli

💡 Fully automatic light management based on conditions like motion, illuminance, humidity, and other clever features
https://github.com/benleb/ad-automoli
MIT License
112 stars 29 forks source link

Lights turn off even when disable switch is turned off #32

Closed mendevi closed 4 years ago

mendevi commented 4 years ago

Below is my app config. Even when I turn the disable switch on (off) my light still shuts off after the 60 second delay. I'm not sure if I'm doing something wrong or its a bug. My disable switch is an input boolean and it does halfway work. When deactivated the lights will not turn on by motion, but if I manually turn them on and motion is detected the count down still starts. I use SmartThings motion detectors, if knowing that makes a difference. `################################################################################

Kitchen Light Motion App

kitchen: module: automoli class: AutoMoLi room: kitchen disable_switch_entity: input_boolean.motion_kitchen delay: 60 daytimes:

benleb commented 4 years ago

Hey, perfectly observed :D At the moment it just disables switching on the lights, simply because that was sufficient for the initial use case. But I agree, it should completely disable AutoMoLi and it shouldn't be that hard to implement, added it to my todo :)

mendevi commented 4 years ago

@benleb thank you man, I wish I was up to par on Python and I could help out. I'll let you know when I get there. Truly appreciate the app and time, this guy runs 90% of the lights in my house.

mendevi commented 4 years ago

@benleb with this closed is it good to go? Just curious if any settings need to be updated on my end to test out.

benleb commented 4 years ago

Thanks ;) It should work without any changes on your side :) Give it a try -> v0.6.1 😁