fix: exception after kaiterra api call timeout (#27622)

This commit is contained in:
Michał Mrozek authored and Paulus Schoutsen committed 2019-10-13 22:01:40 -07:00
1 parent cf76f22c89
commit afa7e0bfe8
4 files changed
+24 -34

No files matched your search

+3 -5
View File
@@ -1,11 +1,9 @@
"""Support for Kaiterra Temperature ahn Humidity Sensors."""
from homeassistant.const import CONF_DEVICE_ID, CONF_NAME, TEMP_CELSIUS, TEMP_FAHRENHEIT
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.const import CONF_DEVICE_ID, CONF_NAME, TEMP_CELSIUS, TEMP_FAHRENHEIT
from .const import DOMAIN, DISPATCHER_KAITERRA
from .const import DISPATCHER_KAITERRA, DOMAIN
SENSORS = [
{"name": "Temperature", "prop": "rtemp", "device_class": "temperature"},