-
Notifications
You must be signed in to change notification settings - Fork 58
-
Is there a way to call a pyscript from within some other automation or yaml script and make use of the output in that other script.
For many services you can use response_variable
e.g
- service: weather.get_forecast
data:
type: hourly
target:
entity_id: weather.forecast_home
response_variable: hourly_forecast
Is this possible in a pyscript or is there another approach other than using a helper with an input_text as I am doing now?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment