-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 configuration to default dashboard #18658
Conversation
Instead of hidden areas, could we have a single area selector component that allows:
I am sure that this will become useful for many other strategies too. |
Yep definitely! We already discussed about a better UX for areas during frontend meeting 🙂 I think we need two lists to store it: areas:
hidden:
- kitchen
- bedroom
ordered:
- living_room
- bathroom So if the user create a new area. It will add it at the end of the visible areas list. But the selector will only display an ordered visible list so it's easier for the user. |
Yeah that sounds about right, and I guess that means that we can also add that in a future PR. Should we then already adopt the YAML format in your comment (top level |
...s/lovelace/editor/dashboard-strategy-editor/hui-original-states-dashboard-strategy-editor.ts
Outdated
Show resolved
Hide resolved
a549664
to
f989038
Compare
rename clean function Fix types
Co-authored-by: Simon Lamon <[email protected]>
f989038
to
182eb1a
Compare
Proposed change
Strategy editor
Adds UI editor for strategies. The user can switch between UI and yaml to edit the strategy configuration. If the strategy doesn't provide editor, it will be yaml only.
Default dashboard improvements
Add 3 options to default dashboard :
Demo
CleanShot.2023-11-15.at.15.53.07.mp4
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: