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

Add more variables types custom API Actions #2930

Open
MiguelAngelLV opened this issue Oct 23, 2024 · 0 comments
Open

Add more variables types custom API Actions #2930

MiguelAngelLV opened this issue Oct 23, 2024 · 0 comments

Comments

@MiguelAngelLV
Copy link

Describe the problem you have/What new integration you would like

Actually the user defined action only allow int, string, float and booleans types (and array versions) while HA has a lot of selectors with differents usages (int, floats, colors, durations, selects...)

Please describe your use case for this integration and alternatives you've tried:

ESPHome should support add context to variables definition to allow HA represent them with a better selector and get easier actions

Additional context

For more easy transaction, the types in ESPHome could be the same, but mapped from the selector. For example, a dropdown with options that map the value to int, or a color with is mapped to int array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant