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:
committed by
Paulus Schoutsen
parent
26c24b8ed3
commit
a1a2e456ad
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user