Battery State Card Versions Save

Battery state card for Home Assistant

v3.0.0

6 months ago

🚀 Features

  • Sort by raw entity attributes (e.g. last_changed) #591 (@maxwroc)
  • State-map 'display' property allowing to override displayed state #588 (@maxwroc)
  • Dynamic custom icons #587 (@maxwroc)
  • Support regex on bulk_rename #585 (@maxwroc)
  • Setting to disable default battery state value sources #401 #584 (@maxwroc)
  • KString abs function for RSSI entities #401 #580 (@maxwroc)
  • Show card in the card picker #198 #579 (@maxwroc)
  • Default config for charging_state and tap_action #365 #578 (@maxwroc)
  • KString new functions: multiply, greaterthan, lessthan, between, thresholds #577 (@maxwroc)

🐛 Bug Fixes

  • Fixed exception thrown when entity is missing #575 #576 (@maxwroc)
  • Fix empty card taking space #521 #574 (@maxwroc)
  • Fix numbers in secondary info #399 (@maxwroc)

🧰 Maintenance

  • Code test coverage reports #375 (@maxwroc)
  • Updated TS and Lit packages #581 (@maxwroc)
  • GetName and GetIcon tests #573 (@maxwroc)
  • Battery level tests #571 (@maxwroc)
  • Charging state tests #495 (@maxwroc)
  • Example with HDD temperature #392 (@dementeb)

GitHub Releases (by Release)

v2.1.1

2 years ago

🐛 Bug Fixes

  • Don't prioritize higher battery_level attribute (over the state) if its value is not a number #383 (@estiens)

🧰 Maintenance

  • State source priority tests #386 (@maxwroc)

GitHub Releases (by Release)

v2.1.0

2 years ago

🚀 Features

  • Support for charging indicator/value stored in object #368 (@maxwroc)
  • Option to override units (percentage) #364 (@maxwroc)
  • Option for rounding battery level values #361 (@maxwroc)

🐛 Bug Fixes

  • Prevent from rendering an empty card #360 (@maxwroc)

🧰 Maintenance

  • Testing infrastructure for card elements #358 (@maxwroc)
  • Fixed test run on GH action #355 (@maxwroc)
  • First initial set of tests #354 (@maxwroc)

GitHub Releases (by Release)

v2.0.2

2 years ago

🐛 Bug Fixes

  • Fixed string tap_action #352 (@maxwroc)

GitHub Releases (by Release)

v2.0.1

2 years ago

🐛 Bug Fixes

  • Fixed empty group #350 (@maxwroc)

GitHub Releases (by Release)

v2.0.0

2 years ago

Breaking changes!

  • When you want to use it as entity (e.g. in entities card) you need to use differnt type: custom:battery-state-entity instead of custom:battery-state-card.
  • Custom styles are not supported any more

🚀 Features

  • Support icon name taken from entity attribute #347 (@maxwroc)
  • Dynamic group icon and color #346 (@maxwroc)

🐛 Bug Fixes

  • Fixed group icon color #345 (@maxwroc)
  • Fixed secondary info after 2021.11 release #344 (@maxwroc)

🧰 Maintenance

  • Add additional common option documentation #262 (@jackwilsdon)

GitHub Releases (by Release)

v1.6.4

3 years ago
  • Fix for secondary text color #222 (@ssiergl)
  • Fix for missing entities when filter.exclude is used together with collapse option (#213)

GitHub Releases (by Release)

v1.6.3

3 years ago

Fixes:

  • Fixed invalid battery level conversion via state_map (#190)

GitHub Releases (by Release)

v1.6.2

3 years ago

Fixes:

  • Charging icon override with higher priority (#168)
  • Last changed/updated date in secondary info missing (#165)

GitHub Releases (by Release)

v1.6.1

3 years ago

In 1.6.0 I have accidentally released the previous version of the card code.

  • Option for overriding entity icon (setting custom/static one) (#158)

Fixes:

  • Fixed regexp based filters which were not working with regexp flags (#159)

GitHub Releases (by Release)