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