Support for trigger Maker IFTTT (fix pylint)

This commit is contained in:
sfam 2015-09-04 22:42:11 +01:00
parent f9ad12920e
commit 5b7dab6556

View file

@ -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)