#Toggling boolean from script

1 messages · Page 1 of 1 (latest)

frozen quartz
#

hey guys,

trying to toggle a boolean from a script which i cant seem to get working. Can anyone point me in the right direction?

this is my script:

mute_zone1:
  alias: Mute Zone 1
  sequence:
    - action: shell_command.dsp_telnet
      data:
        command: Level1 toggle mute 1
    - action: input_boolean.toggle
      target:
        entity_id: input_boolean.mute_zone1