Merge pull request #1508 from persandstrom/verisure_typo_thermometers

verisure configuration value typo fix
This commit is contained in:
Per Sandström 2016-03-08 21:42:43 +01:00
commit d1256d4889

View File

@ -17,7 +17,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup the Verisure platform.""" """Setup the Verisure platform."""
sensors = [] sensors = []
if int(hub.config.get('temperature', '1')): if int(hub.config.get('thermometers', '1')):
hub.update_climate() hub.update_climate()
sensors.extend([ sensors.extend([
VerisureThermometer(value.id) VerisureThermometer(value.id)