Skip to content

Releases: custom-cards/bar-card

0.1.3

25 Mar 16:35
Compare
Choose a tag to compare
  • added show_icon config option
  • added icon config option
  • added align config option
  • added off option to title_position config
  • removed bar_style config option
  • removed indicator_style config option
  • added icon_style config option
  • added value_style config option
  • fix for min/max value indicator update
  • title will now default to entity friendly name
  • removed tracker.json, should now be tracked by default

0.1.2

17 Mar 21:13
Compare
Choose a tag to compare
  • added entities config option, displays multiple bars based on entities list
  • added columns config option
  • title style can now still be defined when using inside title_position

0.1.1

16 Mar 18:34
Compare
Choose a tag to compare
  • added attribute config option
  • added unit_of_measurement config option
  • indicator config is now independant of animation type
  • code optimizations

0.1.0

12 Mar 21:13
Compare
Choose a tag to compare
  • complete re-write of bars and indicators using flexbox
  • from config option removed
  • direction config option added
  • target, min and max now accept an entity id as value
  • added auto-vertical, top and bottom option to indicator config
  • added top and bottom option to title_position config

0.0.7

09 Mar 01:10
Compare
Choose a tag to compare
  • added target option, adds a marker at selected value.

0.0.6

06 Mar 22:51
Compare
Choose a tag to compare
  • indicator will now be the inverse of the bar color making bar increase more visible

0.0.5

25 Jan 10:13
3798bfa
Compare
Choose a tag to compare
  • added indicator option to set left, right, off or auto
  • fixed an issue where the bar in charge mode wouldn't increase or decrease until refresh
  • fixed bar direction issues for 'inside' option

0.0.4

23 Jan 16:22
Compare
Choose a tag to compare
  • added checks to avoid animation being restarted by front-end updating (causing crashes on fast updates)
  • added card_style
  • reworked CSS for bar and title layout

0.0.3

18 Jan 12:23
Compare
Choose a tag to compare
  • added 'inside' option for title_position

0.0.2

16 Jan 22:49
Compare
Choose a tag to compare
  • added custom CSS styles option for bar, title and indicator
  • added title position option

Example

- type: custom:bar-card
    entity: sensor.test_increase
    title: styletest
    min: 0
    max: 100
    title_position: right
    bar_style:
      border-radius: 10px
      font-size: 20px
    title_style:
      font-size: 20px
    indicator_style: 
      color: '#aa0000'
      font-size: 10px
    severity:
    - value: 25
      hue: '0'
    - value: 50
      hue: '40'
    - value: 100
      hue: '120'