Hi Guys,
I would appreciate alittle help, I’m trying to automate some hue lights and a switch in the same automation and get seem to get it to work. I have put the lights and switch in the same group and I’m using the following automation: I’m sure this is a simple fix. The automation below will turn on the hue lights, but not the switch.
- action:
- alias: lights for music
service: homeassistant.turn_on
entity_id: group.loungelights
alias: lounge lights music
condition: []
id: '1509876174671'
trigger:
- entity_id: media_player.lounge
from: paused
platform: state
to: playing