mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Support for trigger Maker IFTTT (fix pylint)
This commit is contained in:
parent
f9ad12920e
commit
5b7dab6556
@ -71,7 +71,7 @@ def setup(hass, config):
|
||||
try:
|
||||
import pyfttt as pyfttt
|
||||
pyfttt.send_event(key, event, value1, value2, value3)
|
||||
except requests.exceptions:
|
||||
except requests.exceptions.RequestException:
|
||||
_LOGGER.exception("Error communicating with IFTTT")
|
||||
|
||||
hass.services.register(DOMAIN, SERVICE_TRIGGER, trigger_service)
|
||||
|
Loading…
x
Reference in New Issue
Block a user