Open Grumblezz opened 2 weeks ago
With the update to 2024.10 the syntax of many things are updated, but the following one seems to be a false positive:
In my scripts.yaml:
state_test: alias: State Test sequence: [] fields: entity_state: selector: state: entity_id: update.home_assistant_core_update name: Entity State default: 'off' description: ''
The validation error is showing 2 false errors:
Missing property "action" Property state is not allowed.
Missing property "action"
Property state is not allowed.
When reviewing the https://www.home-assistant.io/docs/blueprint/selectors/#state-selector then it looks OK. And when I create a new script via the UI with the state selector then the errors are also shown in the VSCode addon.
The current selector example should not show a yaml-schema error.
The current selector example is showing a yaml-schema error.
Use the example from above to get the same yaml-schema error.
Please fix the yaml-schema error.
@wltng Your situation wasn’t related to this report.
../Frenck
@wltng Marked your responses as off-topic; as again, they are not related to this report. Like it or not.
Problem/Motivation
With the update to 2024.10 the syntax of many things are updated, but the following one seems to be a false positive:
In my scripts.yaml:
The validation error is showing 2 false errors:
Missing property "action"
Property state is not allowed.
When reviewing the https://www.home-assistant.io/docs/blueprint/selectors/#state-selector then it looks OK. And when I create a new script via the UI with the state selector then the errors are also shown in the VSCode addon.
Expected behavior
The current selector example should not show a yaml-schema error.
Actual behavior
The current selector example is showing a yaml-schema error.
Steps to reproduce
Use the example from above to get the same yaml-schema error.
Proposed changes
Please fix the yaml-schema error.