Skip to content

Commit 3dcf183

Browse files
authored
Merge pull request #64 from plugwise/PNR-2-CENR
Ensure ConfigEntryNotReady is used like upstream
2 parents 2e5fdd4 + a3303b2 commit 3dcf183

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

custom_components/plugwise-beta/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ async def async_setup_entry(hass, entry):
4444

4545
if not connected:
4646
_LOGGER.error("Unable to connect to Smile: %s",api.smile_status)
47-
raise PlatformNotReady
47+
raise ConfigEntryNotReady
4848

4949
except Smile.PlugwiseError:
5050
_LOGGER.error("Error while communicating to device")
51-
raise PlatformNotReady
51+
raise ConfigEntryNotReady
5252

5353
except asyncio.TimeoutError:
5454
_LOGGER.error("Timeout while connecting to Smile")
55-
raise PlatformNotReady
55+
raise ConfigEntryNotReady
5656

5757
if api.smile_type == "power":
5858
update_interval = timedelta(seconds=10)

custom_components/plugwise-beta/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"domain": "plugwise-beta",
33
"name": "Plugwise Beta for Home Assistant",
44
"documentation": "https://github.com/plugwise/plugwise-beta",
5-
"requirements": ["Plugwise_Smile==0.2.9"],
5+
"requirements": ["Plugwise_Smile==0.2.10"],
66
"dependencies": [],
77
"codeowners": ["@CoMPaTech","@bouwew"],
88
"config_flow": true

0 commit comments

Comments
 (0)