Support for trigger Maker IFTTT (fix pylint)
This commit is contained in:
parent
56151a07a5
commit
f9ad12920e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue