Add log info in the rfxtrx component

This commit is contained in:
badele 2015-11-08 11:04:29 +01:00
parent 0c97280479
commit ebc95aca51
3 changed files with 14 additions and 0 deletions

View file

@ -43,6 +43,10 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
rfxtrx.RFX_DEVICES[entity_id] = new_sensor
add_devices_callback([new_sensor])
else:
_LOGGER.info(
"EntityID: %s sensor_update",
entity_id,
)
rfxtrx.RFX_DEVICES[entity_id].event = event
if sensor_update not in rfxtrx.RECEIVED_EVT_SUBSCRIBERS: