From bac2aa6848938034a0950a63c5efd50e5a397b20 Mon Sep 17 00:00:00 2001 From: uvjim Date: Wed, 27 Nov 2024 19:02:50 +0000 Subject: [PATCH] refactor: second round of linting fixes --- custom_components/hdhomerun/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hdhomerun/config_flow.py b/custom_components/hdhomerun/config_flow.py index 525413a..11c9bcb 100644 --- a/custom_components/hdhomerun/config_flow.py +++ b/custom_components/hdhomerun/config_flow.py @@ -377,7 +377,7 @@ async def async_step_ssdp( await self.async_set_unique_id(unique_id=serial) matching_instance: ( list[config_entries.ConfigEntry] | config_entries.ConfigEntry - ) = [instance for instance in self.hass.config_entries.async_entries(DOMAIN)] + ) = list(self.hass.config_entries.async_entries(DOMAIN)) if matching_instance: matching_instance = matching_instance[0] if matching_instance.source == "ssdp":