Skip to content

Commit d8e335e

Browse files
Added additional logging to the setup process
1 parent d76ca00 commit d8e335e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

custom_components/panasonic_cc/config_flow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ async def _create_device(self, username, password):
5959
api = pcomfortcloud.Session(username, password, verifySsl=False)
6060
devices = await self.hass.async_add_executor_job(api.get_devices)
6161
if not devices:
62+
_LOGGER.warning("No device returned from Panasonic Cloud")
6263
return self.async_abort(reason="No devices")
6364
except asyncio.TimeoutError:
65+
_LOGGER.warning("Unable to connect to Panasonic Cloud: timed out")
6466
return self.async_abort(reason="device_timeout")
6567
except ClientError:
6668
_LOGGER.exception("ClientError")

custom_components/panasonic_cc/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "panasonic_cc",
33
"name": "Panasonic Comfort Cloud",
4-
"version": "1.0.26",
4+
"version": "1.0.27",
55
"config_flow": true,
66
"documentation": "https://github.com/sockless-coding/panasonic_cc/",
77
"dependencies": [],

0 commit comments

Comments
 (0)