Please excuse my English
Since the standby consumption of the Sony XH is about 30 watts, I would like to switch it off and on via a smart socket.
I use an Apple TV4K and the Denon AVR, everything is connected to Denon via HDMI.
The power consumption in HomeAssist shows the Apple TV in standby as 0 watts and when switching on the ATV4K goes up to 4-5 watts and then back to zero, so I can’t rely on that. The Denon AVR shows 4.5 watts in standby and after switching it on it goes to 30 watts and stays there depending on the volume.
All devices are connected to Smart sockets.
As soon as I switch on the Apple TV, the Denon also switches on and goes to 30 watts, then the smart socket should switch on and the TV.
Until I switch on the TV, everything in the automation works, but the TV doesn’t switch on - I first have to switch it on with the remote control.
What am I doing wrong? Why won’t the Sony switch on?
alias: 'Sony TV ON '
description: 'Sony TV ON '
trigger:
- type: power
platform: device
device_id: 8776eb1f6fc43efe275a461d288a22cf
entity_id: sensor.denon_avr_watt
domain: sensor
above: 10
condition: []
action:
- type: turn_on
device_id: b2553517f761f1f2bbe04ea795fc6a93
entity_id: switch.tv_lufter
domain: switch
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.tv_lufter_watt
above: '20'
for:
hours: 0
minutes: 1
seconds: 0
- type: turn_on
device_id: cab6bb9887e8d4f869f4c66cbbbd44ef
entity_id: remote.sony_bravia_tv
domain: remote
mode: single