Skip to content

Commit

Permalink
Disable async on Apprise (#40213)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc authored Sep 18, 2020
1 parent 2f7b6bf commit 0a0d44a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions homeassistant/components/apprise/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@
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
Expand Down

0 comments on commit 0a0d44a

Please sign in to comment.