Closed thost96 closed 6 years ago
Sorry for the delay on answering this one.
The state at startup is set to the last known state as filed in the database. So, if you turn off the lights and then restart pimatic the light should stay turned off. Did you try this? EDIT: However, this does not work as expected as state handling for the power switch is buggy. See also #38, #54, #55 I'll look into the matter asap (maybe fixed by #66)
Besides that it would be possible to implement an optional default state which overrides the last state from database.
I worked around this using a simple rule at startup, which turn the light off.
This is definitely fixed with #66. Would be great if the PR gets merged some time
@thost96 as #66 was merged, is the issue resolved for you?
@michbeck100 yes, the issue is resolved for me ;-)
Hi, i'm using pimatic-led-ligth for my milight setup and when i'm restarting pimatic all of my milight devices get turned on.
It would be nice to implement a default state at startup. Is this possible?