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
    7 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
      ·
      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.

  • LifeBandit666
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    7 months ago

    As a Node Red guy I have an input Boolean called “Guest” and have my heating automation check if Guest is on or off, then tell it the temperature I want for each.