-
How to do this from pyscript? I.e. how to pass data.variables.level type arguments to service.call()?
|
Beta Was this translation helpful? Give feedback.
Answered by
olyashok
Feb 27, 2023
Replies: 1 comment
-
figured it out: script.turn_on(entity_id='script.announce_alert', variables={'level': 'low', 'message': message}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
olyashok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
figured it out: script.turn_on(entity_id='script.announce_alert', variables={'level': 'low', 'message': message})