summaryrefslogtreecommitdiff
path: root/smart_home/registry.py
diff options
context:
space:
mode:
authorScott <[email protected]>2022-01-18 13:13:21 -0800
committerScott <[email protected]>2022-01-18 13:13:21 -0800
commit87f478b20c8b24eed6c1e87de47ba01e3d9746ab (patch)
treeaf36a122a47c06fabce5a5232b6733d2d840d03c /smart_home/registry.py
parent559c60c169223c7c6833e9beedf978a8ffdd3926 (diff)
Fix chromecasts to work with new version of pychromecast; rename
some cameras, add debugging log messages.
Diffstat (limited to 'smart_home/registry.py')
-rw-r--r--smart_home/registry.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/smart_home/registry.py b/smart_home/registry.py
index 75fe052..7349081 100644
--- a/smart_home/registry.py
+++ b/smart_home/registry.py
@@ -185,6 +185,9 @@ class SmartHomeRegistry(object):
return device.Device(name, mac, kws)
except Exception as e:
logger.exception(e)
+ logger.debug(
+ f'Device {name} at {mac} with {kws} confused me, returning a generic Device'
+ )
return device.Device(name, mac, kws)
msg = f'{mac} is not a known smart home device, returning None'
logger.warning(msg)