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
2016-07-14 03:30:11 +02:00
committed by Paulus Schoutsen
parent 675283c23e
commit a0c1c918b8
3 changed files with 65 additions and 50 deletions

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 = {