Note: Update to at least 20171129 required for HA 0.59+
- File names changed into
state-card-custom-ui.html
andstate-card-custom-ui-es5.html
. Either update customizer or see updated instructions in Activating section.
Note: Update to at least 20171117 required for HA 0.58+
- Compatibility fix with HA 0.58
Note: Update to at least 20170910 required for HA 0.53+
- Add
_stateDisplay
template attribute to allow setting final visual state.
- Fix context-aware group names
- Entity state and attributes can now be overridden by templates. See Templates
- Breaking change:
theme_template
attribute has been removed. Used templates to tweakthemes
attribute. Note thatextra_data_template
behavior didn't change.
- Delay initialization until states are loaded.
- Give better error for broken templates.
- Fix some Polymer2-related bugs.
- Compress code better and transpile it for ES5: Now it should support all browsers supported by Home Assistant.
- Use badges without using group-in-group
- Per-entity theming improvements (Thanks @ahofelt for reference implementation):
- paper-card-background-color will now properly set per-entity background.
- Label-related variable will now properly affect labels.
- Support for using your own custom UI state cards with this CustomUI framework.
- Support CustomUI attributes in customization config UI introduced in Home Assistant 0.53
- Add CustomUI config subpanel.
- Customizer support for loading local (on Home Assistant machine) or hosted on Github CustomUI.
- Improve performance by recalculating only after attachment.
- Visual fix for Polymer2
- Breaking Change
extra_data_template
format changed. - Added
theme_template
attribute to make conditional entity-theming easy.
New features
- New (optional) CustomUI panel.
- New (optional) customizer custom component.
- Register CustomUI panel above.
- Hide CustomUI attribute in
more-info
(Requires HA 0.50+) - Hide arbitrary attributes in
more-info
(Requires HA 0.50+) - Dynamic customization.
- New
update.sh
script that will keep CustomUI up to date. - Group names can now be context-aware.
extra_data_template
can now look into another entity's state.- CustomUI version is now displayed in
dev-info
panel. - Attributes can now be device-aware in addition to being context-aware. Device name is set via CustomUI panel.
- Per-entity theming (Requires HA 0.50+)
- Confirmable controls.
Bugfixes:
- Customization now works for unavailable entities #24 (Requires HA 0.50+)
- Fix bug introduced on 20170701 which caused slider to do nothing.
show_last_changed
is now supported on almost all state cards.
- Now features are also supported on all "plain" and "toggle" cards in addition to light and cover cards.
- Breaking Change Now all attributes can be context-aware, not just
friendly_name
andhidden
.
- Extend support for context-aware names to views (in addition to groups)
- Fix bug where the slider would sometimes show as 0 upon start.
- Add support for context-aware hide.
- Add support for badges in state cards.
- Now to use the feature download a single minified
state-card-custom-ui.html
file. Unminified sources for development are undersrc/
- Add support for context-aware entity names. This feature is supported for all domains, not just
light
andcover
. - Add 'no-slider' mode in case you want to use light/cover custom-ui without the slider.
- Fix cover position range to be 0..100 by default (was 0..255 like light)
- Switch back to using core
state-info
component instead ofcustom-state-info
. Nowextra_data_template
feature requires HA 0.43+