When I have Guest Mode on, I’d like to maintain my downstairs temperature at 20°, but if it’s just me, I’m happy to suffer at 18°. However I can’t figure out how to do it so that I don’t have to make a whole new set of automations. Is there a graceful way I can set a conditional variable?

  • sabreW4K3@lazysoci.alOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    This was the easy part, the hard part is managing

    if (guest_mode == on){
      target_temp = 20
    }else{
      target_temp = 18
    };
    

    Sorry, I took so long to come back to this.