From 13f52be919d18a7ff13900023823b5f8cece9280 Mon Sep 17 00:00:00 2001 From: Pedro Ribeiro Date: Sat, 22 Jan 2022 21:08:32 +0000 Subject: [PATCH] Fix --- custom_components/rademacher/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/rademacher/__init__.py b/custom_components/rademacher/__init__.py index 8a52719..7a928fa 100644 --- a/custom_components/rademacher/__init__.py +++ b/custom_components/rademacher/__init__.py @@ -77,7 +77,7 @@ async def async_update_data(): ) # Backward compatibility - entry_options = entry.options.copy() + entry_options = {key: entry.options[key] for key in entry.options.keys()} if CONF_EXCLUDE not in entry.options: if CONF_DEVICES in entry.options: entry_options[CONF_EXCLUDE] = [