From 5953bb4eb3e70607c12e51be803b0857fce90d21 Mon Sep 17 00:00:00 2001 From: Ryan Meek <25127328+maykar@users.noreply.github.com> Date: Thu, 11 Feb 2021 17:29:08 -0500 Subject: [PATCH] try conversation --- custom_components/plex_assistant/helpers.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/custom_components/plex_assistant/helpers.py b/custom_components/plex_assistant/helpers.py index a578870..1d010f5 100644 --- a/custom_components/plex_assistant/helpers.py +++ b/custom_components/plex_assistant/helpers.py @@ -56,7 +56,12 @@ def ifttt_webhook_callback(event): hass.services.call(DOMAIN, "command", {"command": event.data["command"]}) listener = hass.bus.async_listen("ifttt_webhook_received", ifttt_webhook_callback) - await hass.services.async_call("conversation", "process", {"text": "tell plex to initialize_plex_intent"}) + + try: + await hass.services.async_call("conversation", "process", {"text": "tell plex to initialize_plex_intent"}) + except: + pass + return listener