-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add energy validation UI #9802
Add energy validation UI #9802
Conversation
This should also be added to the |
What does
|
When you have defined an entity that does not exist, it's fixed by:
|
import { EnergyValidationIssue } from "../../../../data/energy"; | ||
import { HomeAssistant } from "../../../../types"; | ||
|
||
@customElement("ha-energy-validation-result") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Give the file (and class) the same name
@@ -1079,6 +1080,42 @@ | |||
"dialog": { | |||
"selected_stat_intro": "Select the entity that represents the device energy usage." | |||
} | |||
}, | |||
"validation": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matthiasdebaat here are all the validation errors that we can show with their title/description.
Breaking change
Proposed change
Show validation errors/warnings. Bare UI while waiting for better design.
Requires home-assistant/core#54567
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: