From a38129e3c1b5a8ed047abe2edcfae00d979cc7b8 Mon Sep 17 00:00:00 2001 From: Axel Duviella <60935256+Axellum@users.noreply.github.com> Date: Sun, 8 Nov 2020 14:32:03 +0100 Subject: [PATCH] Ajout "Pas de valeur" pour rainForecastValues. (#27) Prise en compte que le sensor next-rain retourne parfois 'Pas de valeur'. --- dist/meteofrance-weather-card.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/meteofrance-weather-card.js b/dist/meteofrance-weather-card.js index 59fc93ac..fa61ba32 100644 --- a/dist/meteofrance-weather-card.js +++ b/dist/meteofrance-weather-card.js @@ -445,6 +445,7 @@ class MeteofranceWeatherCard extends LitElement { getOneHourForecast(rainForecastEntity) { let rainForecastValues = new Map([ + ["Pas de valeur", 0.1], ["Temps sec", 0.1], ["Pluie faible", 0.4], ["Pluie modérée", 0.7],