⏲ Timer

No, you have one timer, that timer can be use to turn ON and OFF your entities 4 times a day + it can move to the next day as long as it starts (see timer 4).

Example;

Timer 1 - Start Time = 6 am (ON at 6 am)
Timer 1 - Duration = 2 hrs (OFF at 8 am)

Timer 2 - Start Time = 9 am (ON at 9 am)
Timer 2 - Duration = 2 hrs (OFF at 11 am)

Timer 3 - Start Time = 5 pm (ON at 5 pm)
Timer 3 - Duration = 3 hrs (OFF at 8 pm)

Timer 4 - Start Time = 9 pm (ON at 9 pm)
Timer 4 - Duration = 6 hrs (OFF at 3 am)

Blacky :smiley:

New Update 1.2

:new: New Feature - Collapsible Sections

  • Collapsible Sections - Added collapsible sections to the blueprint. This enhancement improves the blueprint user interface by making it cleaner and more organized, allowing sections to be collapsed.

    :warning: This feature was introduced in Home Assistant 2024.6, so you must have this version or later for the blueprint to work.

:toolbox: Maintenance

  • Set blueprint to my new layout.
  • Update input descriptions for better understanding.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

1 Like

Hey Blacky,

I’m using this blueprint for a 16h on 8h off light setup. If home assistant is updated or restarted during the on duration it seems it looses track of the elapsed time and duration remaining. Is it feasible to fix this or might be unfixable?

@rs_007

Are you talking about the time it takes to restart HA is lost in the timer? If so that is a HA thing. So when HA restart it pauses the timer and then when it starts again it restarts the timer but you must tick restore. I hardly notice as my restart is about 1 second. I know my NUC running HA is a overkill but it fast.

Blacky :smiley:

Perhaps it might be on upgrades my home assistant core auto updates on Sunday (docker image) I’ve noticed once so far that the timer is going longer then the set duration

I could be… the reason we use a timer here is because if you have a long time like 4 hours and then you restart HA just before it ends it wont start from the start of 4 hours, it just completes the remain time… yes you have to add the restart time but that is normally not that much and it is the only way it can be done.

Blacky :smiley:

Aloha Blacky, I’m relatively new to HA and like your blueprint. I’m using this to turn on a ceiling fan at 8:30pm to run for a few hours, nightly. How can I add another condition (presence sensor) so that the timer doesn’t run when I’m away?

@Phily808

Aloha Phil, welcome to the community

This blueprint is just a basic timer.

I am developing a blueprint for ceiling fans though, :thermometer: Temperature Control Fan. It currently works of temperature but time, device tracker, maybe presence would be some condition I would consider adding to it. Looks like you live in Hawaii and it would be a good place to get some feedback from you and your thoughts on my other blueprint.

I am thinking rise in temp + time condition + HA knows your home = fan ON. Maybe have a look at the other blueprint and if you like post something in that thread.

Blacky :smiley: