From 953b3384432fc4243f1c7eb5b756bd7947857ca7 Mon Sep 17 00:00:00 2001 From: Rob Hofmann Date: Fri, 9 Oct 2026 23:55:53 +0200 Subject: [PATCH] Remove a stale TODO in the DHCP step async_update_entry only returns True when the entry data changed. Since #548 copies the entry data deep, a new IP counts as a change, so the open question in the TODO is answered. --- custom_components/gree_custom/config_flow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/gree_custom/config_flow.py b/custom_components/gree_custom/config_flow.py index 19d1c66..52f491e 100755 --- a/custom_components/gree_custom/config_flow.py +++ b/custom_components/gree_custom/config_flow.py @@ -366,7 +366,6 @@ async def async_step_dhcp( new_data[CONF_DEVICES][d.mac][CONF_DEVICE_CONNECTION][ CONF_DEVICE_CONNECTION_LOCAL ][CONF_HOST] = discovery_info.ip - # TODO: Check if this only returns True if the IP Changed if ( self.hass.config_entries.async_update_entry( entry_match, data=new_data