mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Support for trigger Maker IFTTT (fix pylint)
This commit is contained in:
parent
56151a07a5
commit
f9ad12920e
@ -70,8 +70,8 @@ def setup(hass, config):
|
||||
|
||||
try:
|
||||
import pyfttt as pyfttt
|
||||
resp = pyfttt.send_event(key, event, value1, value2, value3)
|
||||
except:
|
||||
pyfttt.send_event(key, event, value1, value2, value3)
|
||||
except requests.exceptions:
|
||||
_LOGGER.exception("Error communicating with IFTTT")
|
||||
|
||||
hass.services.register(DOMAIN, SERVICE_TRIGGER, trigger_service)
|
||||
|
Loading…
x
Reference in New Issue
Block a user