Hi together,
i hope someone can help me. I am from Germany, so I apologize for my bad english
I want to create an automation which turns on my Sony TV after a smart socket has been turned on before. A 1 minute delay is also built in.
My current automation looks like this:
id: '1640497379567'
alias: TV-Steckdose an > Sony an
description: ''
trigger:
- platform: state
entity_id: switch.tv_socket_1
from: 'off'
to: 'on'
condition: []
action:
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: media_player.turn_on
target:
device_id: c30c9d46d9aa8a042adadd6dffac9599
entity_id: media_player.sony
mode: single
The trigger is detected, but the Sony is not switched on.
Anyone have any idea what I am doing wrong?
Thanks in advance.