I started with an input_boolean to control it, but I don't like how you need to add 2 automations, one for on and off.
I tried a switch.template instead, which was nicer. The downside is that you have to use something for the value_template. I tried using the climate.cottage target temp and mode, but realized that porch_mode would interfere with it. If you turned on porch mode, having the guest mode value_template based on the climate would turn off, and you wouldn't have a way to know that it needed to be reset.
I ended up going back to input_boolean after that. I also added a script to restore the guest mode's climate, so porch mode could call that.
Work towards https://github.com/technicalpickles/picklehome/issues/32
I started with an
input_boolean
to control it, but I don't like how you need to add 2 automations, one for on and off.I tried a
switch.template
instead, which was nicer. The downside is that you have to use something for thevalue_template
. I tried using theclimate.cottage
target temp and mode, but realized thatporch_mode
would interfere with it. If you turned on porch mode, having the guest modevalue_template
based on the climate would turn off, and you wouldn't have a way to know that it needed to be reset.I ended up going back to
input_boolean
after that. I also added a script to restore the guest mode's climate, so porch mode could call that.