Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML Syntax Checker Issue #888

Open
AlexW75 opened this issue Oct 16, 2024 · 1 comment
Open

YAML Syntax Checker Issue #888

AlexW75 opened this issue Oct 16, 2024 · 1 comment
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@AlexW75
Copy link

AlexW75 commented Oct 16, 2024

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.

VSC_Syntax_Check_Problem

Copy link

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!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

1 participant