I have one label category which has one light entity and two swtich entities. I’m trying to make a time automation which turns on and off the light and switches by lable. I have one if-else rule that contains turn off and turn on for light and switch entities and both are configured to use labeled devices. The one light entity works with the label, but the two switch entities does not. Switches work directyl as an entities, but not when they are configured with label.
Please follow the Community Questions Guidelines by providing the properly formatted configuration of the automation you are asking about.
My first guess from the limited information provided is that you are using the wrong action. To control both light and switch entities in the same action you need to use the generic actions homeassistant.turn_on and homeassistant.turn_off
3 Likes
Thank you. You guessed correctly. homeassistant.turn_on and turn_off action was completely new to me. But now it works when using it.