It would also be interesting to activate and deactivate the graphics to be 
displayed. For example for stations that do not measure solar radiation. Thank 
you.


El viernes, 21 de septiembre de 2018, 20:17:39 (UTC+2), Juan Antonio 
Mosquera escribió:
>
> *ok ... I'm sorry, I had not noticed. But, another thing, it would be 
> interesting to be able to configure the texts to be displayed in the 
> weather forecast, the "Partly cloud" texts ... in this part of the code.*
>
>
>
>
>
>
> condition_text = ""
> if daily_data["icon"] == "clear-day":
> condition_text = "Despejado"
> elif daily_data["icon"] == "clear-night":
> condition_text = "Despejado"
> elif daily_data["icon"] == "rain":
> condition_text = "Lluvioso"
> elif daily_data["icon"] == "snow":
> condition_text = "Nevado"
> elif daily_data["icon"] == "sleet":
> condition_text = "Aguanieve"
> elif daily_data["icon"] == "wind":
> condition_text = "Ventoso"
> elif daily_data["icon"] == "fog":
> condition_text = "Niebla"
> elif daily_data["icon"] == "cloudy":
> condition_text = "Nublado"
> ...

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to