You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
results in: Classic\nJazz\nNormal\nPop\nVocal
which can be used to directly populate a dropdownroller or a btnmatrix with these items.
Suggestion for dropdownroller and btnmatrix would be to have a config option like text_items which could accept strings like above mutually exclusive with buttons >text or symbol sub-options. The other styling options could still be possible per item.
With lvgl.widget.update this could be updated at runtime.
Use case for the example above is with on_value the user could call a HA service to choose the desired sound mode (we need the selected item name in a variable, see #49 (comment))
The text was updated successfully, but these errors were encountered:
Use cases:
effect_list
attributesource_list
andsound_mode_list
select
options import from HAItems for
dropdown
roller
andbtnmatrix
are natively added to the widgets with a string where\n
is the delimiter.For example importing the
sound_mode_list
attribute ofmedia_player.my_room
into an ESPHome text sensor with filters:results in:
Classic\nJazz\nNormal\nPop\nVocal
which can be used to directly populate a
dropdown
roller
or abtnmatrix
with these items.Suggestion for
dropdown
roller
andbtnmatrix
would be to have a config option liketext_items
which could accept strings like above mutually exclusive withbuttons
>text
orsymbol
sub-options. The other styling options could still be possible per item.With
lvgl.widget.update
this could be updated at runtime.Also in pair with #40
Use case for the example above is with
on_value
the user could call a HA service to choose the desired sound mode (we need the selected item name in a variable, see #49 (comment))The text was updated successfully, but these errors were encountered: