• Bluesheep@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Nice tutorial! You used a date time helper. I did something similar using a timer helper instead.

    You set the timer for your duration, then every time you turn on/off the boiler you ‘reset’ the timer. You can then have a trigger in your automation for when the timer reaches zero. Same solution but without the need to work with templates and other ‘codish’ things.

    Timer Helper

      • PHLAK@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Yes, as long as you use the restore option, if a timer were to finish while Home Assistant is offline, when it starts up again the event will fire and any automations listening for the event will be triggered. Timers are incredibly powerful.