From d0c60ab21b7b613ab3fe09449007dc7bc0d937f3 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 13 May 2024 09:26:18 +0200 Subject: [PATCH] Fix typo and useless default in config_entries (#117346) --- homeassistant/config_entries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 71b9b0d0cb0..690c8c170ff 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -462,7 +462,7 @@ class ConfigEntry(Generic[_DataT]): @property def supports_reconfigure(self) -> bool: - """Return if entry supports config options.""" + """Return if entry supports reconfigure step.""" if self._supports_reconfigure is None and ( handler := HANDLERS.get(self.domain) ): @@ -490,7 +490,7 @@ class ConfigEntry(Generic[_DataT]): "supports_options": self.supports_options, "supports_remove_device": self.supports_remove_device or False, "supports_unload": self.supports_unload or False, - "supports_reconfigure": self.supports_reconfigure or False, + "supports_reconfigure": self.supports_reconfigure, "pref_disable_new_entities": self.pref_disable_new_entities, "pref_disable_polling": self.pref_disable_polling, "disabled_by": self.disabled_by,