Why is my condition not working? If the remote is in the on state the automation is still running. I see no errors in the logs.
- alias: Turn on Bedroom TV with Virtual Switch
trigger:
- platform: state
entity_id: switch.BR_TV
to: 'on'
condition:
- condition: state
entity_id: remote.Bedroom
state: 'off'
action:
- service: remote.turn_on
entity_id: remote.bedroom