All notable changes to this project will be documented in this file.
Added:
- Support
fire-dom-event
custom action (#173) - Support haptic feedback configuration on actions (#164)
- Support custom entity on
more-info
action (#161)
Changed:
- Use localization on
attribute
values (#178) - Render disabled toggles on unavailable state (#160)
- Improve state display of
input_dateime
entities (#140)
Fixed:
- Incorrect rendering of
unit
whenfalse
(#145)
Fixed:
- Incorrect handling of datetime string values (#142)
Added:
- Handle non-numeric values when using
format
option (#127) - Support
brightness
as a formatting option (#128) - Support
hide_unavailable
option on secondary info objects (#136)
This release includes a major refactoring of the codebase, but should not contain any (significant) breaking changes. Please report any bugs or issues here.
Added:
- Support showing
attribute
instead of state on main entity (#124) - Support all standard HA
secondary_info
options (#113, #123) - Support standard
image
option for entity row (#114) - Support
hold_action
anddouble_tap_action
(on entity row only) (#50) - Prevent unnecessary re-rendering with
shouldUpdate
function (#125) - Option
hide_unavailable
now also supports attributes (#119) - Several external packages and tools to improve developer experience
Changed:
- Major refactoring and improvements of entire codebase
- Use
hui-generic-entity-row
to handle generic parts of row - Move CSS and utility functions to separate files
- Replace some utility methods with equivalents from
custom-card-helpers
- Simplify most configuration handling
Removed:
- Custom styles option on secondary info
Fixed:
- Unit not being rendered when
format
option is set (#117)
Added:
- Support custom styling on state and entity objects (#111, #112)
- Format option
precision<0-9>
for value decimal precision (#110) - Option
hide_unavailable
to hide entity if unavailable (#77)
Fixed:
- Secondary info name not being rendered when
format
option is set (#60) - Call correct service when toggling
lock
orcover
entity (#32)
Added:
- Format option
duration
for displaying value in seconds ashh:mm:ss
(#89) - Display
hui-warning
element when main entity is not available
Changed:
- Row tap action now affects entire row, not only state value (#107)
- Simplify and improve tap action handling
- Remove deprecated handling of zwave state values
Added:
- Support
navigate
action withnavigate_path
on tap actions (#66, #82) - Support for showing entities in a
column
instead of the default row (#98) - Print version information to browser console window (#78)
Changed:
- Improved alignment on state element by removing min-width (#64)
- Tap action mode
url
now behaves similarly as other HA cards (#66)
Fixed:
- Compatibility issues with HA
0.116
(#103, #104)
Fixed:
- State display for entities with
device_class
(#74) - Default HA icon when state attribute icon is undefined (#71)
Fixed:
- Remove unsupported optional chaining operator (#54, #56, #57)
Changed:
- Display name/header above additional entity icons (#41)
Added:
- Support
state_color
config on additional entity icons (#45) - Haptic feedback on
call-service
andtoggle
actions (#44) - Support entity override on
more-info
action (#46) - Support
confirmation
dialog config ontap_action
(#42) - Support
url
action config ontap_action
(#49) - Support
none
action config ontap_action
(#53) - Support any string value as
secondary_info
(#51) - Support
format
config for date/time values (#43, #47)
Several main configuration options have been changed to better match the default Lovelace cards, as listed below. See README for more info and examples on all possible breaking configuration changes.
Changed:
- Convert additional entity config to
entities
list instead of named objects (#28) - Merge
info
intosecondary_info
for simpler configuration - Rename
hide_state
toshow_state
with defaulttrue
- Rename
name_state
tostate_header
- Move service call configuration to
tap_action
(#31)
Added:
- Support custom
tap_action
for main entity (#31) - Support for
more_info
,toggle
andcall_service
actions undertap_action
(#32) - Additional entity icons change color based on entity state (#25)
Added:
- Support
state_color
config introduced in HA v0.105 (#36)
Fixed:
- Minor incorrect code syntax
Fixed:
- Info name showing as
null
when disabled (#27)
Changed:
- More refactoring and cleanup of code
- Make
entity
optional on additional entity objects (#23)
Added:
- Support for calling services on entity click (#6)
Fixed:
- Issue where LitElement has already been declared (#21)
Changed:
- Major refactoring and cleanup of code
- Use LitElement instead of Polymer.Element
Added:
- Support for HA Cast https://cast.home-assistant.io (#20)
- Support for displaying icons for additional entities (#19)
Fixed:
- Incorrect toggle state on climate entities (#18)
Added:
- Default row click-handler, after it was removed in HA v0.101 (#16)
Changed:
- Refactor and improve code
Added:
- Toggle-support for additional entities (#15)
Added:
- Support for an optional tertiary object (#15)
- Optional name/header above the main entity state (#15)
Fixed:
- Attribute showing as unavailable when falsy (#13)
Fixed:
- Incorrect toggle state when unavailable (#8)
Fixed:
- Not possible to hide entity unit value (#7)
Fixed:
- Entity state values not updating correctly (#4)
Fixed:
- Missing entity state values (#3)
Changed:
- Refactor and improve code
Added:
- Support for custom entity/attribute as secondary_info
- Card as default plugin in HACS
Added:
- More-info dialog on click on additional entities
- Support for custom_updater component
Fixed:
- Badge link in README
- Initial release