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.
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.