mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
line too long change
This commit is contained in:
parent
8f2ca856c7
commit
39de92960d
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user