From 2d5d40ce0ea34312717b066bd179b8b75fffa66c Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Fri, 29 Nov 2019 18:29:45 +0100 Subject: [PATCH 1/2] Fix smartthings cloud webhook (#29219) * Fix smartthings cloud webhook * Update smartapp.py --- homeassistant/components/smartthings/smartapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/smartthings/smartapp.py b/homeassistant/components/smartthings/smartapp.py index ecd4da5dcab..6acd29397ae 100644 --- a/homeassistant/components/smartthings/smartapp.py +++ b/homeassistant/components/smartthings/smartapp.py @@ -234,7 +234,7 @@ async def setup_smartapp_endpoint(hass: HomeAssistantType): and not hass.config_entries.async_entries(DOMAIN) ): cloudhook_url = await hass.components.cloud.async_create_cloudhook( - hass, config[CONF_WEBHOOK_ID] + config[CONF_WEBHOOK_ID] ) config[CONF_CLOUDHOOK_URL] = cloudhook_url await store.async_save(config) @@ -287,7 +287,7 @@ async def unload_smartapp_endpoint(hass: HomeAssistantType): and hass.components.cloud.async_is_logged_in() ): await hass.components.cloud.async_delete_cloudhook( - hass, hass.data[DOMAIN][CONF_WEBHOOK_ID] + hass.data[DOMAIN][CONF_WEBHOOK_ID] ) # Remove cloudhook from storage store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY) From ec008ddbe441e800f3170e605cd4e85c82b7bfe8 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 29 Nov 2019 17:48:08 +0000 Subject: [PATCH 2/2] Bump version 0.102.3 --- homeassistant/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/const.py b/homeassistant/const.py index 8b62d011fda..927739486d6 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -1,7 +1,7 @@ """Constants used by Home Assistant components.""" MAJOR_VERSION = 0 MINOR_VERSION = 102 -PATCH_VERSION = "2" +PATCH_VERSION = "3" __short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION) __version__ = "{}.{}".format(__short_version__, PATCH_VERSION) REQUIRED_PYTHON_VER = (3, 6, 1)