Releases: custom-cards/bar-card
Releases · custom-cards/bar-card
1.2.0
Breaking Change
- Removed
show_icon
config option.
Updates
- Added
icon_position
config option. Set this toinside
to replace the removedshow_icon
true
config option.
Fixes
- Fixed
min
/max
per entity config defaulting to0
/100
when no mainmin
/max
card config is set.
Examples
# Icon Position
- type: custom:bar-card
entity: sensor.example
title: Icon
title_position: inside
icon_position: left
align: split
icon: mdi:eye
1.1.0
1.0.0
Breaking Change
- Removed
hue
andsaturation
config options. From now oncolor
has to be used in the card config and severity config.
Updates
- Updated versioning.
- Added
entity_config
config option. Enables use of entity attributes as config options. - Added
visibility
config option. Allows hiding of the bar based on condition. - Added
tap_action
config option. Selects the the action when tapping the bar. - Added
service_config
config option. A list of config options when using theservice
option fortap_action
. - Optimized amount of frames for bar animation.
0.2.0b0
0.1.9
0.1.8
entities
config option now accepts card config options- fixed card element layout
Example
- type: custom:bar-card
entities:
- entity: sensor.living_room_plant_1_moisture
title: Drancaena
target: 30
- entity: sensor.living_room_plant_2_moisture
title: Meat Eater
- entity: sensor.living_room_plant_3_moisture
title: Vet Plant
- entity: sensor.bedroom_plant_1_moisture
title: Orchid
min: 0
max: 50
target: 20
padding: 2px
severity:
- value: 10
color: var(--bar-red)
- value: 30
color: var(--bar-yellow)
- value: 50
color: var(--bar-green)
0.1.7
0.1.6
- added
color
config option,hue
will be deprecated in future release severity
will now acceptcolor
attribute instead ofhue
attribute,hue
attribute will be deprecated in future release- added
left-reverse
,right-reverse
,up-reverse
,down-reverse
options todirection
config option min
,max
andtarget
will now also accept an attribute object- fixed animation updates
- bar color will now default to theme primary color