You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using scenes in HA for your lights, VSC expects values for brightness and color_temp, even when the lights are off.
However, HA won't assign any numbers to these parameters as long as the lights remain off.
Steps to reproduce
Create a scene with a light off and open the scenes.yaml file in VSC - it will show an error in the autogenerated code.
Proposed changes
Dont show a syntax error in case the light is off. Like the other values not set as shown in the screenshot.
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Problem/Motivation
When using scenes in HA for your lights, VSC expects values for brightness and color_temp, even when the lights are off.
However, HA won't assign any numbers to these parameters as long as the lights remain off.
Steps to reproduce
Create a scene with a light off and open the scenes.yaml file in VSC - it will show an error in the autogenerated code.
Proposed changes
Dont show a syntax error in case the light is off. Like the other values not set as shown in the screenshot.
The text was updated successfully, but these errors were encountered: