Fix ValueError on reload
@@ -114,6 +114,10 @@ async def update_listener(hass: HomeAssistant, config_entry: ConfigEntry) -> Non
_LOGGER.debug("Attempting to reload sensors from the %s integration", DOMAIN)
+ if config_entry.data == config_entry.options:
+ _LOGGER.debug("No changes detected not reloading sensors.")
+ return
+
new_data = config_entry.options.copy()
hass.config_entries.async_update_entry(
