commit
085d026ab6
|
@ -14,7 +14,7 @@ from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
from homeassistant.const import (ATTR_ENTITY_ID, TEMP_CELSIUS)
|
from homeassistant.const import (ATTR_ENTITY_ID, TEMP_CELSIUS)
|
||||||
|
|
||||||
REQUIREMENTS = ['pyRFXtrx==0.8.0']
|
REQUIREMENTS = ['pyRFXtrx==0.9.0']
|
||||||
|
|
||||||
DOMAIN = "rfxtrx"
|
DOMAIN = "rfxtrx"
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||||
sub_sensors = {}
|
sub_sensors = {}
|
||||||
data_types = entity_info[ATTR_DATA_TYPE]
|
data_types = entity_info[ATTR_DATA_TYPE]
|
||||||
if len(data_types) == 0:
|
if len(data_types) == 0:
|
||||||
|
data_type = "Unknown"
|
||||||
for data_type in DATA_TYPES:
|
for data_type in DATA_TYPES:
|
||||||
if data_type in event.values:
|
if data_type in event.values:
|
||||||
data_types = [data_type]
|
data_types = [data_type]
|
||||||
|
|
|
@ -248,7 +248,7 @@ pushetta==1.0.15
|
||||||
py-cpuinfo==0.2.3
|
py-cpuinfo==0.2.3
|
||||||
|
|
||||||
# homeassistant.components.rfxtrx
|
# homeassistant.components.rfxtrx
|
||||||
pyRFXtrx==0.8.0
|
pyRFXtrx==0.9.0
|
||||||
|
|
||||||
# homeassistant.components.notify.xmpp
|
# homeassistant.components.notify.xmpp
|
||||||
pyasn1-modules==0.0.8
|
pyasn1-modules==0.0.8
|
||||||
|
|
Loading…
Reference in New Issue