tap_action, color_off, state style, more-info
Lots of breaking changes in this release but a big push towards alignment with other standards and some cool new features. Great work @RomRider!
Breaking Changes
color_off
is now deprecated, usestate
instead if you want to redefine the color whenoff
Instead of:Use:- type: "custom:button-card" name: Switch entity: switch.main color: red color_off: green
Or:- type: "custom:button-card" name: Switch entity: switch.main color: red state: - value: 'off' color: green
- type: "custom:button-card" name: Switch entity: switch.main state: - value: 'off' color: green - value: 'on' color: red
default_color
is deprecated as it seems redundant withcolor
(when light is not rgb). For rgb light, you can still define a specific color for theoff
state for example.service
has been deprecated in favor oftap_action
, see belowaction
has been replaced bytap_action
to mimic the default button card and allow for future options likehold_action
more_info
renamed tomore-info
,more_info
still worksservice
now takes the full service namelight.turn_on
- Add default entity icon support, Fix #53, add
show_icon
to decide whether to display the icon or not
Others