Custom Buttons¶
Custom buttons add your own button for any entity – also entities from other areas.
| Option | Description |
|---|---|
Entity (entity) |
Entity of the button |
Name (name) |
Text under the icon |
Icon (icon) |
Icon of the button |
Use Entity Picture (use_entity_picture) |
Show the entity picture instead of the icon |
Activate State Color (activate_state_color) |
Color the icon by the entity state |
Color (color) |
Fixed icon color |
State (state_mode, state_value) |
Show the button only if the entity state is (equal) or is not (not_equal) a value |
| Tap / Hold / Double Tap Action | Tap toggles the entity by default |
| Styles | Custom CSS for button, icon and name |
Position¶
| Position | Placement |
|---|---|
default |
Next to the domain buttons |
top-left, top-right, bottom-left, bottom-right |
Pinned to a corner of the card |
custom |
Free placement with position_top, position_right, position_bottom, position_left (any CSS length) |
Buttons with the same position and the same Group (position_group) are placed
next to each other. Direction (position_direction) lines them up as a row or
a column.