Merge pull request #29234 from home-assistant/rc

Release 0.102.3
This commit is contained in:
Pascal Vizeli 2019-11-30 11:58:54 +01:00 committed by GitHub
commit 0ea91fbf2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ async def setup_smartapp_endpoint(hass: HomeAssistantType):
and not hass.config_entries.async_entries(DOMAIN) and not hass.config_entries.async_entries(DOMAIN)
): ):
cloudhook_url = await hass.components.cloud.async_create_cloudhook( cloudhook_url = await hass.components.cloud.async_create_cloudhook(
hass, config[CONF_WEBHOOK_ID] config[CONF_WEBHOOK_ID]
) )
config[CONF_CLOUDHOOK_URL] = cloudhook_url config[CONF_CLOUDHOOK_URL] = cloudhook_url
await store.async_save(config) await store.async_save(config)
@ -287,7 +287,7 @@ async def unload_smartapp_endpoint(hass: HomeAssistantType):
and hass.components.cloud.async_is_logged_in() and hass.components.cloud.async_is_logged_in()
): ):
await hass.components.cloud.async_delete_cloudhook( await hass.components.cloud.async_delete_cloudhook(
hass, hass.data[DOMAIN][CONF_WEBHOOK_ID] hass.data[DOMAIN][CONF_WEBHOOK_ID]
) )
# Remove cloudhook from storage # Remove cloudhook from storage
store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY) store = hass.helpers.storage.Store(STORAGE_VERSION, STORAGE_KEY)

View File

@ -1,7 +1,7 @@
"""Constants used by Home Assistant components.""" """Constants used by Home Assistant components."""
MAJOR_VERSION = 0 MAJOR_VERSION = 0
MINOR_VERSION = 102 MINOR_VERSION = 102
PATCH_VERSION = "2" PATCH_VERSION = "3"
__short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION) __short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION)
__version__ = "{}.{}".format(__short_version__, PATCH_VERSION) __version__ = "{}.{}".format(__short_version__, PATCH_VERSION)
REQUIRED_PYTHON_VER = (3, 6, 1) REQUIRED_PYTHON_VER = (3, 6, 1)