mirror of
https://github.com/home-assistant/core.git
synced 2025-08-14 01:55:18 +02:00
line too long change
This commit is contained in:
@@ -42,7 +42,10 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
try:
|
try:
|
||||||
zones = evo_api.temperatures(force_refresh=True)
|
zones = evo_api.temperatures(force_refresh=True)
|
||||||
for i, zone in enumerate(zones):
|
for i, zone in enumerate(zones):
|
||||||
add_devices([RoundThermostat(evo_api, zone['id'], i == 0, away_temp)])
|
add_devices([RoundThermostat(evo_api,
|
||||||
|
zone['id'],
|
||||||
|
i == 0,
|
||||||
|
away_temp)])
|
||||||
except socket.error:
|
except socket.error:
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
"Connection error logging into the honeywell evohome web service"
|
"Connection error logging into the honeywell evohome web service"
|
||||||
|
Reference in New Issue
Block a user