Hi there,
I have a script, that turns on power, lift up the tv but doesn’t turn on the tv. It works, when I trigger the step manually - but not at script-runtime.
Any idee or hint for me?
Thanks a lot!
alias: scr_einschalten_TV
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.fernsehschrank_switch
- wait_for_trigger:
- platform: template
value_template: >-
{{ states('switch.tvlift_up') != "unavailable" and
states('switch.tvlift_up') != "" }}
continue_on_timeout: false
- service: switch.turn_on
data:
entity_id: switch.tvlift_up
- service: media_player.turn_on
entity_id: media_player.sony_kdl_42w815b
mode: single
icon: mdi:television-ambient-light