From d37fe1fbb629bc83929713440ef148c41582ed83 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Fri, 18 Sep 2020 09:32:38 -0400 Subject: [PATCH] Disable async on Apprise (#40213) --- homeassistant/components/apprise/notify.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/apprise/notify.py b/homeassistant/components/apprise/notify.py index 0c8c5b26eec..f999da94531 100644 --- a/homeassistant/components/apprise/notify.py +++ b/homeassistant/components/apprise/notify.py @@ -29,8 +29,11 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( def get_service(hass, config, discovery_info=None): """Get the Apprise notification service.""" - # Create our object - a_obj = apprise.Apprise() + # Create our Apprise Asset Object + asset = apprise.AppriseAsset(async_mode=False) + + # Create our Apprise Instance (reference our asset) + a_obj = apprise.Apprise(asset=asset) if config.get(CONF_FILE): # Sourced from a Configuration File