Allow integrations to register their own config panels #7820
Unanswered
legrego
asked this question in
Configuration
Replies: 1 comment 3 replies
-
You can already register a custom panel, the only thing you can't do is add the button to the integration card. So you should already be able to do this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Integrations are capable of exposing their config options by registering an "Options Flow Handler", as described in the docs.
While most integrations follow this convention, there are a few hard-coded integrations which are able to bypass this, in favor of rendering their own custom panels. This allows them to provide a richer configuration experience, which is essential for integrations with more complex setups.
I am in the process of updating my custom component for Elasticsearch to take advantage of config flows (legrego/homeassistant-elasticsearch#74), but the amount of customization that I'm able to offer via
configuration.yaml
doesn't seem to scale to the current config flow/options flow capabilities. While I could technically make it work, it would lead to a really poor user experience. Having the ability to write my own panel would go a long way here.Beta Was this translation helpful? Give feedback.
All reactions