Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable async on Apprise #40213

Merged
merged 1 commit into from
Sep 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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