@Getslow wrote:
Hi all,
Recently I’ve been busy setting up scenes in my Home Assistant and I came across the following situation:
I’ve got an older Samsung Smart TV that doesn’t support Wake On LAN, but once it is connected I can use the Samsung integration functions to turn it off. I wanted to couple the TV’s functionality with my Chromecast, so I’ve made the following universal media player:
- platform: universal name: Samsung tv children: - media_player.chromecast - media_player.samsung_ue40es5500 commands: turn_on: service: script.samsungtv_power turn_off: service: media_player.turn_off entity_id: media_player.samsung_ue40es5500 volume_up: service: media_player.volume_up entity_id: media_player.samsung_ue40es5500 volume_down: service: media_player.volume_down entity_id: media_player.samsung_ue40es5500 volume_mute: service: media_player.volume_mute entity_id: media_player.samsung_ue40es5500 attributes: state: media_player.samsung_ue40es5500The
script.samsungtv_poweris a script that sends an IR power command, which toggles the power.My TV scene has the following form:
- id: '1586456650331' name: TV entities: light.couch: brightness: 150 color_temp: 420 state: 'on' light.couch_small: state: 'off' [...] media_player.samsung_tv: state: 'on'When I turn on this scene while the TV is already on, it will turn off the TV. This while Home Assistant already knows the TV is turned on.
Am I overseeing something here, or could this be a bug?
Thanks!
Posts: 1
Participants: 1