Switch to xmltodict and pass over missing temperature (fixes #2433) (#2463)

* Switch to xmltodict and pass over missing temperature (fixes #2433)

* Add guard clauses
This commit is contained in:
Fabian Affolter authored and Paulus Schoutsen committed 2016-07-13 18:30:11 -07:00
1 parent 675283c23e
commit a0c1c918b8
3 files changed
+65 -50

No files matched your search

+1 -2
View File
@@ -18,8 +18,7 @@ from homeassistant.util import dt as dt_util
_LOGGER = logging.getLogger(__name__)
REQUIREMENTS = ['xmltodict']
REQUIREMENTS = ['xmltodict==0.10.2']
# Sensor types are defined like so:
SENSOR_TYPES = {