We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to have a list of entities to which I would like to apply a new state. Currently, I am trying the following but it does not work.
action: - service: python_script.set_state data: entity_id: - sensor.edisio_2677633030_4cmd - sensor.edisio_2677633030_6cmd - sensor.edisio_60190726_1cmd - sensor.edisio_60190726_3cmd - sensor.edisio_60190726_5cmd - sensor.edisio_60190726_7cmd - sensor.edisio_60190726_8cmd state: "OFF"
Should it work or the code of the python script does not take lists into account. I don't understand its logic so I can't check myself.
The text was updated successfully, but these errors were encountered:
No, as it stands right now, you would need to repeat the service call instead.
action: - service: python_script.set_state data: entity_id: - sensor.edisio_2677633030_4cmd state: "OFF" - service: python_script.set_state data: entity_id: - sensor.edisio_2677633030_6cmd state: "OFF"
This might be a good enhancement.
Sorry, something went wrong.
No branches or pull requests
I would like to have a list of entities to which I would like to apply a new state.
Currently, I am trying the following but it does not work.
Should it work or the code of the python script does not take lists into account. I don't understand its logic so I can't check myself.
The text was updated successfully, but these errors were encountered: