Scenario: I have an automation called John’s AC. John’s AC has four separate triggers. Max, minimum lower temperature, lower temperature, upper temperature, and max upper temperature. If the room temperature is below max lower temperature or lower temperature and it warms up to either of those two triggers, the automation gets triggered and creates a log event.

Question: Is there some way to make triggers enable and disable other triggers in their conditions? What I was thinking about doing is having upper temperature and max upper temperature be the only two active triggers. If either was hit, John’s AC would then turn on and the triggers for lower temperature and max lower temperature would be enabled until one of those two triggers was hit, at which point John’s AC would turn off, and those two triggers would be disabled. until upper temperature got hit again.

Admittedly, it’s a lot of work, just to avoid a couple of log messages, but just for shits and giggles, I wonder if it’s possible.

  • tko@tkohhh.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    I have separate automations for turning on the HVAC and turning off the HVAC. When the “Turn HVAC On” automation gets triggered, one of the actions is to enable the “Turn HVAC Off” automation. One of the actions on “Turn HVAC Off” is to disable itself.

    Does that get you what you want?