The example on this page doesn't work when I paste it as-in into the YAML automation editor, it gives an error "Message malformed: extra keys not allowed @ data['automation']". I've been trying to write a simple shell command action and I get the same error no matter what I do, so I tried using the example and it didn't work either. 😢
automation:
alias: "run_set_ac"
triggers:
trigger: state
entity_id: input_number.ac_temperature
actions:
Hey there @home-assistant/core, mind taking a look at this feedback as it has been labeled with an integration (shell_command) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of `shell_command` can trigger bot actions by commenting:
- `@home-assistant close` Closes the feedback.
- `@home-assistant rename Awesome new title` Renames the feedback.
- `@home-assistant reopen` Reopen the feedback.
- `@home-assistant unassign shell_command` Removes the current integration label and assignees on the feedback, add the integration domain after the command.
- `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback.
- `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.
Feedback
The example on this page doesn't work when I paste it as-in into the YAML automation editor, it gives an error "Message malformed: extra keys not allowed @ data['automation']". I've been trying to write a simple shell command action and I get the same error no matter what I do, so I tried using the example and it didn't work either. 😢
automation:
input_number: ac_temperature: name: A/C Setting initial: 24 min: 18 max: 32 step: 1
shell_command: set_ac_to_slider: 'irsend SENDONCE DELONGHI AC{{ states("input_number.ac_temperature") }}_AUTO'
URL
https://www.home-assistant.io/integrations/shell_command/
Version
2024.11.2
Additional information
No response