From 1227d274e45b46667f37a3b48ce4656c2a053780 Mon Sep 17 00:00:00 2001 From: mdeweerd Date: Sun, 11 Jun 2023 00:02:05 +0200 Subject: [PATCH] Small formatting fix --- custom_components/zha_toolkit/zha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/zha_toolkit/zha.py b/custom_components/zha_toolkit/zha.py index 2c02268..aff7a42 100644 --- a/custom_components/zha_toolkit/zha.py +++ b/custom_components/zha_toolkit/zha.py @@ -50,7 +50,7 @@ async def zha_devices( if ieee is not None: ieee = str(ieee) # Select only the device with the given address - devices = [d for d in devices if str(d['ieee']) == ieee ] + devices = [d for d in devices if str(d["ieee"]) == ieee] # Set default value for 'devices' in event_data, # may be slimmed down. Ensures that devices is set in case