Hi!
Im new here. I have set up Home Assistant and it is working fine.
But, when I try automations nothing goes as I want.
I want a lamp in my bedroom to light up at a certain time. But I cant manage this. Config test says it valid, but HA tells me that theres a configuration error. If I restart, HA wont start. It gives me a refused connection.
I have been playing around a lot with both these examples. But what am I doing wrong?
Some people even recommend putting single quotes around the numbers, e.g. ‘45’
Here’s an example with a condition that works fine in my config file:
- alias: Turn off living room light at 23:46h if nobody is home
trigger:
platform: time
hours: 23
minutes: 46
seconds: 19
condition:
condition: state
entity_id: group.people
state: 'not_home'
action:
service: homeassistant.turn_off
entity_id: switch.hook_b3
Hi.I’m new in here.Please,help me how to add a single time shedule for one light.i don’t know how can I do it.i want my light turn on at morning 05:00 and turn off at late night 23:00.thanks.