Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions custom_components/plugwise-beta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ async def async_setup_entry(hass, entry):

if not connected:
_LOGGER.error("Unable to connect to Smile: %s",api.smile_status)
raise PlatformNotReady
raise ConfigEntryNotReady

except Smile.PlugwiseError:
_LOGGER.error("Error while communicating to device")
raise PlatformNotReady
raise ConfigEntryNotReady

except asyncio.TimeoutError:
_LOGGER.error("Timeout while connecting to Smile")
raise PlatformNotReady
raise ConfigEntryNotReady

if api.smile_type == "power":
update_interval = timedelta(seconds=10)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/plugwise-beta/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"domain": "plugwise-beta",
"name": "Plugwise Beta for Home Assistant",
"documentation": "https://github.com/plugwise/plugwise-beta",
"requirements": ["Plugwise_Smile==0.2.9"],
"requirements": ["Plugwise_Smile==0.2.10"],
"dependencies": [],
"codeowners": ["@CoMPaTech","@bouwew"],
"config_flow": true
Expand Down