Hi All
I’d like to trigger the automation upon input_button press.
input_button is created as a helper and shown in the GUI.
I created the automation and it does works if I run it manually.
But it does NOT work when I press the button.
here is the automation yaml:
alias: Volume up
description: Volume Up
triggers:
- entity_id: input_button.gromche
trigger: state
conditions:
- condition: or
conditions:
- condition: device
device_id: ca0700b45ca2148d7c36ec72e1d67837
domain: media_player
entity_id: media_player.tv_kolonka_5_0
type: is_on
- condition: device
device_id: ca0700b45ca2148d7c36ec72e1d67837
domain: media_player
entity_id: c90136a012bd747d3c2f21baeb5b9883
type: is_idle
- condition: device
device_id: ca0700b45ca2148d7c36ec72e1d67837
domain: media_player
entity_id: c90136a012bd747d3c2f21baeb5b9883
type: is_playing
- condition: device
device_id: ca0700b45ca2148d7c36ec72e1d67837
domain: media_player
entity_id: c90136a012bd747d3c2f21baeb5b9883
type: is_buffering
actions:
- target:
entity_id: script.volume_up_tv_kolonka
action: script.turn_on
mode: single
please advise
Thank you