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

template sensor condition docu discrepancies / Property condition is not allowed #36008

Closed
simllll opened this issue Nov 27, 2024 · 2 comments
Closed
Labels
integration: template Stale The PR had no activity for quite some time, and is marked as Stale

Comments

@simllll
Copy link

simllll commented Nov 27, 2024

Feedback

Hi,
I just ran into some not clear discrepancies regarding condition(s) in a sensor template.

1.) https://www.home-assistant.io/integrations/template/#trigger-based-template-binary-sensors-buttons-images-numbers-selects-and-sensors it says we can use "condition". It seems to work, but vscode shows me that it's not allowed:
image
is there some schema definition update missing?

2.) on the release notes of 2024.10 it says they have no plural names.
condition -> conditions
https://www.home-assistant.io/blog/2024/10/02/release-202410/#improved-yaml-syntax-for-automations
But in the documentation it doesn't say so, and it also seems not to work. I get an error from HA when using conditions instead of condition

Thanks for your work
Simon

URL

yaml-schema: http://schemas.home-assistant.io/configuration

Version

2024.11.3

Additional information

No response

@home-assistant
Copy link

Hey there @PhracturedBlue, @tetienne, @home-assistant/core, mind taking a look at this feedback as it has been labeled with an integration (template) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of template can trigger bot actions by commenting:

  • @home-assistant close Closes the feedback.
  • @home-assistant rename Awesome new title Renames the feedback.
  • @home-assistant reopen Reopen the feedback.
  • @home-assistant unassign template Removes the current integration label and assignees on the feedback, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information) to the feedback.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information) on the feedback.

Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved.
If this issue is still relevant, please let us know by leaving a comment 👍
This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale The PR had no activity for quite some time, and is marked as Stale label Jan 26, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: template Stale The PR had no activity for quite some time, and is marked as Stale
Projects
None yet
Development

No branches or pull requests

1 participant