-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Review of our editors and where to go next #679
Comments
Regarding the "scary intro":
This can be fixed in the following ways:
|
Regarding order in customization editor: If we want to sort by "importance" then indeed "new override" should be before programmatic. |
Last time I tried to use the automation editor it screwed up all my action templates. I use templates both for triggers and actions. I'm not sure if this is fixed now. If it isn't it would be good if it at least didn't destroy the existing automations. I don't mind if the template feature is considered advanced and not available when adding new automations. I can make a proper bug report if you want. |
Bug report would be welcome. |
Regarding components that expose entities, I really prefer setting attributes (such as alexa_hidden) directly on the entity configuration. One example that currently cannot be configured on the entity directly is the recorder exclude list, and I end up forgetting to add entities to it or remove old entities from the list. I think that, ideally, we should be able to specify those directly on the entity definition. For components that create entities automatically, they would need to support having the entity_id definition in the configuration even if it is auto-discovered. That probably requires too much changes to too many components, but would put everything related to an entity in a single place. Another ideia is having a entity_config: section for configuring those things, like the customize. |
The nice thing about But the issue with |
@balloob Can this be closed in light of the Google Sheets for the road map? |
We should close this as everything is different now :) |
We have grown quite a couple of configuration UI's in Home Assistant by now:
Automation editor
Picker page:
Create/Edit page:
Opinion:
Script editor
Picker page:
Create/Edit page:
Opinion:
Customize editor
Opinion:
<ha-entity-picker>
once Entity dropdown improvement #674 has been mergedWhat's next
We've been getting a bunch of components that expose the entities inside Home Assistant to external services. Examples are Google Assistant, Emulated Hue, Alexa.
These components have 2 different configurations:
Deciding which entities need to be exposed is done using whitelists and blacklists. Using a combination of include entities, include domains, exclude entities and exclude domains a user can create a set of entities that will be exposed to the sync service (using entity filter).
Configuration per entity is currently done leveraging customize. This should be changed as all configuration should go via
configuration.yaml
for that component. Leveraging customize means that you cannot sync with two google assistants and your configuration is unnecessarily ending up in the state machine and history.The main reason developers tend to abuse customize is because it allows people to configure all their entities at once and you can leverage existing infrastructure: Customize can be configured per entity, per domain and using globs on entity ids (powered by EntityValues).
I want to create a UI that offers two things:
However, this approaches it from a service/component angle. The benefit of using customize is that you can customize all settings for 1 entity at once. This makes me wonder, should we approach it from an entity angle instead. Kind of like the customize editor but with a card per service/component? Or would the per entity editor be something that we can tuck away in the more info redesign that @NovapaX is looking into in #627
I'm currently leaning to a per service UI similar to the automation editor.
The text was updated successfully, but these errors were encountered: