diff --git a/configuration/automations/bedroom-tv.yaml b/configuration/automations/bedroom-tv.yaml index 4558e94..421e5a7 100644 --- a/configuration/automations/bedroom-tv.yaml +++ b/configuration/automations/bedroom-tv.yaml @@ -2,7 +2,7 @@ alias: '[Bedroom] TV On' trigger: - platform: state - entity_id: media_player.bedroom_tv + entity_id: switch.bedroom_tv to: 'on' condition: - condition: state @@ -15,7 +15,7 @@ alias: '[Bedroom] TV Off' trigger: - platform: state - entity_id: media_player.bedroom_tv + entity_id: switch.bedroom_tv to: 'off' condition: - condition: state