Skip to content

Releases: custom-cards/bar-card

1.2.0

19 May 22:38
Compare
Choose a tag to compare

Breaking Change

  • Removed show_icon config option.

Updates

  • Added icon_position config option. Set this to inside to replace the removed show_icon true config option.

Fixes

  • Fixed min/max per entity config defaulting to 0/100 when no main min/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

23 Apr 14:19
Compare
Choose a tag to compare

Updates

  • Added show_value config option, hides value and unit of measurement when set to false.
  • Throws error when entity doesn't exist.

1.0.0

17 Apr 09:30
Compare
Choose a tag to compare

Breaking Change

  • Removed hue and saturation config options. From now on color 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 the service option for tap_action.
  • Optimized amount of frames for bar animation.

0.2.0b0

10 Apr 08:14
428af67
Compare
Choose a tag to compare
  • lovelace GUI config fix

0.1.9

02 Apr 21:45
Compare
Choose a tag to compare
  • removed charge config option from animation config, is now based on charge_entity
  • added background_style config option

0.1.8

02 Apr 19:01
Compare
Choose a tag to compare
  • 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

29 Mar 13:32
Compare
Choose a tag to compare
  • fixed off config option for animation
  • adjusted color contrast, making the bar work better on bright themes

0.1.6

29 Mar 00:46
Compare
Choose a tag to compare
  • added color config option, hue will be deprecated in future release
  • severity will now accept color attribute instead of hue attribute, hue attribute will be deprecated in future release
  • added left-reverse, right-reverse, up-reverse, down-reverse options to direction config option
  • min,max and target will now also accept an attribute object
  • fixed animation updates
  • bar color will now default to theme primary color

0.1.5

27 Mar 15:41
Compare
Choose a tag to compare
  • optimized card CSS

0.1.4

25 Mar 18:28
Compare
Choose a tag to compare
  • title fix for Safari browser
  • fix for min/max value title spacing