Skip to content

v5.4.6

Choose a tag to compare

@AmoebeLabs AmoebeLabs released this 24 May 13:36
825011a

Mainly a bug-fix release!

This release contains several bug fixes regarding name, area, and state display. Thanks to all the people who provided configuration examples and screenshots to eliminate those nasty (regression) bugs. I couldn't have found and fixed them without them!

This release also uses the Home Assistant entity settings. This means that in most cases it is not required anymore to specify decimals (precision setting in Home Assistant), units, and icons, as they are fetched from the Home Assistant entity registry.

So, an almost empty entity config like this one:

        - type: custom:flex-horseshoe-card
          entities:
            - entity: sensor.livingroom_movement_battery # almost full
            - entity: sensor.livingroom_illuminance_front_battery # almost empty
            - entity: sensor.livingroom_whatever_battery   # does exist, but has no status (undefined)

          show:
            horseshoe: false
          layout:
            icons:
              - entity_index: 0
                xpos: 25
                ypos: 45
                size: 2
                rotate: 90 # Rotate 90 degrees CW
                styles:
                  animation: pulse 1s ease-out infinite
              - entity_index: 1
                xpos: 50
                ypos: 45
                size: 2
              - entity_index: 2
                xpos: 75
                ypos: 45
                size: 2

You get his for "free"...

  • the icon itself according to the state
  • the color according to the state
image

The same is true for the weather icons and lights, where the icon and icon color depend on the state.
image image

What's Changed

💥 (Possible) Breaking changes

Depending on your locale settings, states might be displayed differently, as they are translated now.
In a future version, there might be a locale setting to override this new default behaviour.

  • feat: Revisit home assistant localization by @AmoebeLabs in #195
  • fix: Icon size setting (size:) was ignored. This might change your icon size... Now both icon and icon_size are processed.

🐛 Bug fixes

🚀 New features

Other changes

Full Changelog: v5.4.5...v5.4.6