Hello,
I'm a big newbie when it comes to yaml. I've been trying to make my bash script work, but I can't get it to run. I'm using the HA supervised version on Raspberry pi 4B 64-bit.
My automations.yaml
- id: "1735718708324"
alias: test3
description: ""
triggers:
- trigger: state
entity_id:
- input_button.damn
conditions: []
actions:
- action: shell_command.script_test
data: {}
- action: input_boolean.toggle
metadata: {}
data: {}
target:
entity_id: input_boolean.reset_homeassistant
mode: single
My configuration.yaml
default_config:
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
shell_command:
script_test: /bin/bash /usr/share/hassio/homeassistant/shell/test.sh
I'd gladly appreciate any help!