I’ve tried to change time format to “21:55” ; “21:55:00” ; ‘21:51:00’. But it seems none of them were work.
but if I change “after:…” to “minutes: ‘/1’”, message appeared on frontend.
I just want to make switch turn on in range 21:55 to 22:55.
Thanks before
why did you call it automation 3: if you only have 1 automation?
its also easier to use:
automation:
alias: 'test automation'
besides that i see you have disabled youre frontend?
and it seems there is an autentication problem. could be related or you have used a wrong password.
Oh, sorry for that “automation 3:…”, I didnt change the name yet.
And for password, that was edited to “###”
And now I’ve enable frontend, add alias, but it seems automation trigger still dont work :
Sorry, I believe my answer is not valid for your question as I read it again, you already tried “21:55:00” format…
Hi mate,
I am very new to home assistant, however most of my automation is time based and its working nice. A sample code is given below from my configuration…
alias: “Turn on Table Lamp @night”
trigger:
platform: time
after: “22:10:00”
action:
entity_id: switch.Lamp_Switch
service: homeassistant.turn_on
The only difference, I noticed in your configuration is the time format. I followed the cookbook example which says it should be “HH:MM:SS”. May be you can try that. However, I don’t think ‘single quote’ or “double quote” make any difference as of my understanding the data is listed in a python list as an item anyway. I might be wrong though.
Sorry for the bad formatting, I don’t know yet how you guys paste the configuration in right format here.
Big Thanks for your sharing. but I realized that the problem is about time_zone.
I didnt change to my time zone. so actually my code is work at certain place at the time zone
Hmm at the same time I was doing some test in my virtual environment and was facing the same issue as you mentioned. Then I enabled time_date and then only I figured out that the time in hass is different from my PC
Hahaha, yap, that was little problem but affect whole system.
For now I’m struggling to set time triggered automation from user-defined time (template).
But till now, I’m facing problem that value template cant be parsed to time platform.