Custom state, label card and icon attribute
0.0.3
Custom state, label card, and icon attribute
New features :
- New setting for custom states
- Label card for organization #23 by jxwolstenholme
- Use icon attribute from entity if it exists #21 by emilp333
- Support for hex color in auto mode #10 by simo878
Custom state example with input select entity
- type: "custom:button-card"
entity: input_select.cube_mode
icon: mdi:cube
action: service
show_state: true
state:
- value: 'sleeping'
color: var(--disabled-text-color)
- value: 'media'
color: rgb(5, 147, 255)
- value: 'light'
color: rgb(189, 255, 5)
Other
- Allow showing both state and name (and doesn't break the style)
- Support for unit of measurement