Skip to content

Commit

Permalink
Ajout "Pas de valeur" pour rainForecastValues. (#27)
Browse files Browse the repository at this point in the history
Prise en compte que le sensor next-rain retourne parfois 'Pas de valeur'.
  • Loading branch information
Axellum authored Nov 8, 2020
1 parent 58ec593 commit a38129e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/meteofrance-weather-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit a38129e

Please sign in to comment.