uv-index-card
uv-index-card copied to clipboard
Use now HomeAssistant Format / Unit Entity parameter for Uv Index
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.
Linked to issue reported https://github.com/t1gr0u/uv-index-card/issues/40