-
Greetings! :) My automation looks like this:
While the pyscript service looks like this:
From testing I know for a fact the last line is what is crashing home assistant Additional information: My input_select config looks like this:
Any help would be appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Is there a reason you're not using the pyscript versions of |
Beta Was this translation helpful? Give feedback.
Is there a reason you're not using the pyscript versions of
hass.states.get
andhass.services.call
? With the code you have above, it would just as easily run as apython_script
since you are using the hass internal methods instead of the pyscript methods and variables.