diff --git a/homeassistant/components/light/rfxtrx.py b/homeassistant/components/light/rfxtrx.py index 5d6f41fe509..9cbce4f860f 100644 --- a/homeassistant/components/light/rfxtrx.py +++ b/homeassistant/components/light/rfxtrx.py @@ -59,6 +59,11 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None): # Check if entity exists or previously added automatically if entity_id in rfxtrx.RFX_DEVICES: + _LOGGER.info( + "EntityID: %s light_update. Command: %s", + entity_id, + event.values['Command'] + ) if event.values['Command'] == 'On'\ or event.values['Command'] == 'Off': if event.values['Command'] == 'On': diff --git a/homeassistant/components/sensor/rfxtrx.py b/homeassistant/components/sensor/rfxtrx.py index 220d4ddbca7..79e07fa1517 100644 --- a/homeassistant/components/sensor/rfxtrx.py +++ b/homeassistant/components/sensor/rfxtrx.py @@ -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: diff --git a/homeassistant/components/switch/rfxtrx.py b/homeassistant/components/switch/rfxtrx.py index 49a788d0d04..982d42b7901 100644 --- a/homeassistant/components/switch/rfxtrx.py +++ b/homeassistant/components/switch/rfxtrx.py @@ -61,6 +61,11 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None): # Check if entity exists or previously added automatically if entity_id in rfxtrx.RFX_DEVICES: + _LOGGER.info( + "EntityID: %s switch_update. Command: %s", + entity_id, + event.values['Command'] + ) if event.values['Command'] == 'On'\ or event.values['Command'] == 'Off': if event.values['Command'] == 'On':