Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example on page doesn't work #35836

Open
MikeMM70 opened this issue Nov 19, 2024 · 1 comment
Open

Example on page doesn't work #35836

MikeMM70 opened this issue Nov 19, 2024 · 1 comment

Comments

@MikeMM70
Copy link

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:

  • alias: "run_set_ac"
    triggers:
    • trigger: state
      entity_id: input_number.ac_temperature
      actions:
    • action: shell_command.set_ac_to_slider

input_number:
ac_temperature:
name: A/C Setting
initial: 24
min: 18
max: 32
step: 1

shell_command:
set_ac_to_slider: 'irsend SEND_ONCE 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

@home-assistant
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant