diff --git a/homeassistant/components/smartthings/manifest.json b/homeassistant/components/smartthings/manifest.json index 75b113354ff..621da91f4f8 100644 --- a/homeassistant/components/smartthings/manifest.json +++ b/homeassistant/components/smartthings/manifest.json @@ -5,7 +5,7 @@ "documentation": "https://www.home-assistant.io/components/smartthings", "requirements": [ "pysmartapp==0.3.2", - "pysmartthings==0.6.8" + "pysmartthings==0.6.9" ], "dependencies": [ "webhook" diff --git a/homeassistant/components/smartthings/smartapp.py b/homeassistant/components/smartthings/smartapp.py index 9aa44d26f2d..68999914d71 100644 --- a/homeassistant/components/smartthings/smartapp.py +++ b/homeassistant/components/smartthings/smartapp.py @@ -282,9 +282,9 @@ async def smartapp_sync_subscriptions( await api.create_subscription(sub) _LOGGER.debug("Created subscription for '%s' under app '%s'", target, installed_app_id) - except Exception: # pylint:disable=broad-except - _LOGGER.exception("Failed to create subscription for '%s' under " - "app '%s'", target, installed_app_id) + except Exception as error: # pylint:disable=broad-except + _LOGGER.error("Failed to create subscription for '%s' under app " + "'%s': %s", target, installed_app_id, error) async def delete_subscription(sub: SubscriptionEntity): try: @@ -293,9 +293,9 @@ async def smartapp_sync_subscriptions( _LOGGER.debug("Removed subscription for '%s' under app '%s' " "because it was no longer needed", sub.capability, installed_app_id) - except Exception: # pylint:disable=broad-except - _LOGGER.exception("Failed to remove subscription for '%s' under " - "app '%s'", sub.capability, installed_app_id) + except Exception as error: # pylint:disable=broad-except + _LOGGER.error("Failed to remove subscription for '%s' under app " + "'%s': %s", sub.capability, installed_app_id, error) # Build set of capabilities and prune unsupported ones capabilities = set() diff --git a/requirements_all.txt b/requirements_all.txt index d713b1e7664..1986d325ae8 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1351,7 +1351,7 @@ pysma==0.3.1 pysmartapp==0.3.2 # homeassistant.components.smartthings -pysmartthings==0.6.8 +pysmartthings==0.6.9 # homeassistant.components.smarty pysmarty==0.8 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index f0338a877f7..96d13c97e9b 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -290,7 +290,7 @@ pyqwikswitch==0.93 pysmartapp==0.3.2 # homeassistant.components.smartthings -pysmartthings==0.6.8 +pysmartthings==0.6.9 # homeassistant.components.sonos pysonos==0.0.16