Skip to content

v5.4.5-dev.3

Pre-release
Pre-release

Choose a tag to compare

@AmoebeLabs AmoebeLabs released this 22 May 09:54
592369e

This dev release by default adheres to the Home Assistant entity registry settings regarding icons, localization, and decimals/fractions/precision with trailing zeros.

Unless, of course, you specify otherwise in the entity configuration!

This means, that if you have an almost empty entity config like:

        - 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
                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. Icon and color depend on the weather attribute and conditions.
Lights also...

What's Changed

💥 Breaking changes

In some cases, the following feature might behave differently than before, as it adheres to Home Assistant standards!

If you want custom handling, you are free to define your own styling, icons, and animations as before!

🐛 Bug fixes

Other changes

Full Changelog: v5.4.5...v5.4.5-dev.3