t1gr0u / uv-index-card

A Lovelace card that shows a the UV index and risk level for Home Assistant
MIT License
25 stars 20 forks source link

Use now HomeAssistant Format / Unit Entity parameter for Uv Index #41

Open bernardpe opened 2 months ago

bernardpe commented 2 months ago

I use the now method formatEntityState existing since Home Assistant Core 2023.9 release to get from a entity a string with HA format and Unit !

is HA version is before version 2023.9 I use old method.

image

Linked to issue reported https://github.com/t1gr0u/uv-index-card/issues/40