6e0a3abf66
* Fix TypeError on round(self.humidity) Some weather platforms postpone the first data fetch for a while on init. As a result round(self.humidity is called before it is assigned a value, producing an error. This is a fix for that. * Rewrite to avoid false negative evaluation As per the suggestion from @OttoWinter, rewrite to avoid matching e.g. 0.0 as false. |
||
---|---|---|
.. | ||
__init__.py | ||
bom.py | ||
buienradar.py | ||
darksky.py | ||
demo.py | ||
ecobee.py | ||
metoffice.py | ||
openweathermap.py | ||
yweather.py | ||
zamg.py |