I’m totally new to automation and not a programmer in any way. I’m trying to setup a simple rule in the UI to turn off at sunrise but all I do ends at nothing. It is not working.
Home Assistant is running on a Raspberry PI and all is connected and can operate manually. Switch is a Qubino flush 2 relay.
In the UI I made a automation rule the same as on the Home Assistant website getting started, https://www.home-assistant.io/getting-started/automation/ only change I made is I do not want to switch on all lights but only one light.
But what I do it won’t work at all.
Question. At the service part, so I set a switch or light? I have tried both
Question. At the service data do I use. this are the data I have put in.
maybe you just post the whole automation so we could take a look.
generally speaking the actin part dependens on the device you want to toggle. if a lamp is connected to an entity that is connected via a switch it will be switch.some_name if you added a light. component it will be light.light_name.
An entity_id contains a domain (light, switch, climate, lock, cover, etc) followed by an object_id (the device’s name). The two are separated by a single period.