Fix rfxtrx stop after first non light (#38057)

This commit is contained in:
Joakim Plate
2020-07-22 13:08:31 +02:00
committed by GitHub
parent 0ffeb4dea4
commit bbff9ff6a0

View File

@@ -48,7 +48,7 @@ async def async_setup_entry(
_LOGGER.error("Invalid device: %s", packet_id) _LOGGER.error("Invalid device: %s", packet_id)
continue continue
if not supported(event): if not supported(event):
return continue
device_id = get_device_id(event.device) device_id = get_device_id(event.device)
if device_id in device_ids: if device_id in device_ids: