Bump pysmartthings (#24659)

pull/24776/head
Andrew Sayre 2019-06-20 15:25:32 -05:00 committed by Paulus Schoutsen
parent d4cab60343
commit a868685ac9
4 changed files with 9 additions and 9 deletions

View File

@ -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"

View File

@ -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()

View File

@ -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

View File

@ -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