Skip to content

How to pass variables to service.call? #443

Answered by olyashok
olyashok asked this question in General
Discussion options

You must be logged in to vote

figured it out: script.turn_on(entity_id='script.announce_alert', variables={'level': 'low', 'message': message})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by olyashok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant