Problem:
Sometimes, I just want the the house to be in sleep_mode
without actually running any scripts when sleep_mode
is toggled on/off. However, sometimes the reverse is true and I want the sleep_mode
switch to also run a bedtime
script.
Fix 1:
The switch should only run the bedtime
script if guest_mode
is off perhaps? In this way, the sleep_mode
could still be toggled on an off (ensuring other automations are blocked) without running the script when guest_mode
is enabled. However, having guests in the house is only half the issue because there are other times when I still only want to enable sleep_mode
without running the bedtime
script
Fix 2:
Another option is to seperate the switch and the script entirely. And have the bedtime
script run using another switch. The bedtime
script then needs to toggle the sleep_mode
switch. This seems backwards to me and also involves creating yet another input_boolean
switch with automations linked to it.
Any thoughts or suggestions you might have (or other ways you are setting up the house for bedtime and enabling sleep_mode) would be welcome!