service: light.turn_on - Incorrect type. Expected "object" #689
Blackshome
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using this code shown below to filter out if transition is needed or not we get this error.
With this code the automation (blueprint) works with no errors...... the code is reference from the link below but we are using a light.turn_on service.
https://www.home-assistant.io/docs/scripts/service-calls/#use-templates-to-determine-the-attributes.
Questions: Is it okay to do it like this? or is studio code wrong in this error as it works perfectly?
Beta Was this translation helpful? Give feedback.
All reactions