From bbff9ff6a0903cfcd1316b19db4d822b29e74884 Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Wed, 22 Jul 2020 13:08:31 +0200 Subject: [PATCH] Fix rfxtrx stop after first non light (#38057) --- homeassistant/components/rfxtrx/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index cd57bb99c40..376e8b515be 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -48,7 +48,7 @@ async def async_setup_entry( _LOGGER.error("Invalid device: %s", packet_id) continue if not supported(event): - return + continue device_id = get_device_id(event.device) if device_id in device_ids: