Open bernardpe opened 2 months ago
Now using Format & Unit from entities using formatEntityState (Since Home Assistant Core 2023.9 release) back compatibility is managed ! Adding RainStorm (Optional) entity
yaml file (no more necessary to use display precision, but if setted we do not use Entity format ! type: custom:rain-gauge-card entity: sensor.xx_rain_today language: fr show_warning: false show_error: false hourly_rate_entity: sensor.xx_rain_intensity rainstorm_entity: sensor.xx_rain_storm
Card :
When RainStorm is 0 we do not display 0 we display -- this is more aligned with usual weather report.
this allow now to round the values of rain and rain rate
Initial card :
card updated :
By default there is as before no round
fix as well when issue on hourly is is unknow
Set 0 in case of unknow