I have a had this a few times and I cannot find a good solution.
I have this line
vol.Optional(“nfl_api_key”, default=self.config_entry.data.get(“nfl_api_key”)): vol.Any(None, str),
Now if there was an existing value for nfl_api_key then if the user nulls it out the config flow does not detect this action and keeps the value as it was.
If I replace the value with a space it detects the change.