So I’m trying to make my lights change when my TV source is on Netflix based on this post: Using the LG webOS source value to trigger events
- alias: "TV Netflix"
trigger:
platform: state
entity_id: sensor.living_room_source
to: 'Netflix'
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: media_player.tele
state: 'playing'
action:
entity_id: scene.movies
Having this error:
Invalid config for [automation]: [entity_id] is an invalid option for [automation]. Check: automation->action->0->entity_id. (See /config/configuration.yaml, line 11).
But I have that defined in my configuration.yaml file
media_player:
platform: webostv
name: tele
host: IP...
I’m new at HomeAssistant and have no idea what I’m doing wrong here…
Any solutions?
Thank you.