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?

  • The Pantser@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    9 months ago

    Yes create a input boolean for a guest mode and then on your automations you set condition > entity > guest mode > on/off

    Oh also you can use trigger IDs for your triggers and then use the choose action and trigger on trigger id.

    • sabreW4K3@lazysoci.alOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 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.