Skip to content

Having trouble with the hass.services.call function on pyscript #224

Answered by dlashua
zroger49 asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a reason you're not using the pyscript versions of hass.states.get and hass.services.call? With the code you have above, it would just as easily run as a python_script since you are using the hass internal methods instead of the pyscript methods and variables.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zroger49
Comment options

@dlashua
Comment options

Answer selected by craigbarratt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants