Skip to content

Commit

Permalink
Disable turn on/off backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jnimmo committed Mar 8, 2024
1 parent 8fbfe1f commit 43d9f4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/intesisbox/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@

async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Create the Intesisbox climate devices."""
from . import intesisbox

controller = IntesisBox(config[CONF_HOST], loop=hass.loop)
controller = intesisbox.IntesisBox(config[CONF_HOST], loop=hass.loop)
controller.connect()
while not controller.is_connected:
await asyncio.sleep(0.1)
Expand Down

0 comments on commit 43d9f4f

Please sign in to comment.