1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add test for fire event in rfxtrx component

This commit is contained in:
Daniel Høyer Iversen
2016-04-07 17:40:15 +02:00
committed by Paulus Schoutsen
parent 26c24b8ed3
commit a1a2e456ad
2 changed files with 48 additions and 5 deletions

View File

@@ -178,8 +178,6 @@ def apply_received_command(event):
is_on = RFX_DEVICES[device_id]._brightness > 0
RFX_DEVICES[device_id]._state = is_on
RFX_DEVICES[device_id].update_ha_state()
else:
return
# Fire event
if RFX_DEVICES[device_id].should_fire_event: