Move imports in ifttt component (#27792)

pull/27797/head
Quentame 2019-10-17 14:58:23 +02:00 committed by Pascal Vizeli
parent b187ca93d0
commit e54f5102aa
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@
import json
import logging
import pyfttt
import requests
import voluptuous as vol
@ -69,7 +70,6 @@ async def async_setup(hass, config):
target_keys[target] = api_keys[target]
try:
import pyfttt
for target, key in target_keys.items():
res = pyfttt.send_event(key, event, value1, value2, value3)