HomeAssistant-GreeClimateComponent icon indicating copy to clipboard operation
HomeAssistant-GreeClimateComponent copied to clipboard

Issue with sets option flow config_entry explicitly

Open k-zakhariy opened this issue 3 months ago • 6 comments

Describe the bug Логгер: homeassistant.helpers.frame Джерело: helpers/frame.py:350 Вперше відбулося: 21:53:53 (1 випадок) Востаннє записано: 21:53:53

Detected that custom integration 'gree' sets option flow config_entry explicitly, which is deprecated at custom_components/gree/config_flow.py, line 239: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please report it to the author of the 'gree' custom integration

Configuration Automatice setup of devices via discovery

Platform:

  • HA Container, Ubuntu

Additional context Add any other context about the problem here.

Logs Please share your Home Assistant logs here. Make sure to remove any personal/secret information.

k-zakhariy avatar Oct 07 '25 19:10 k-zakhariy

@p-monteiro did you also take this one into consideration with your PR?

RobHofmann avatar Oct 07 '25 22:10 RobHofmann

Oh nope. I read somewhere that it was required, but I guess not. Will remove it when I have time again. If you can leave the announcement for the 2025.12 deprecation here, it'll be helpful.

p-monteiro avatar Oct 07 '25 22:10 p-monteiro

@RobHofmann Nevermind, I thought this was about the manifest. My PR does not have that FlowHandler

p-monteiro avatar Oct 08 '25 17:10 p-monteiro

To be clear: This issue will be gone in your PR?

RobHofmann avatar Oct 11 '25 13:10 RobHofmann

Yes, that's correct, even though my PR is a bit delayed, but this is not urgent. If you so wish, you can keep accepting PR and fixing bugs; I'll have to rebase anyway.

p-monteiro avatar Oct 11 '25 13:10 p-monteiro

Thats okay. For now nothing is on fire. I'd rather continue focussing on your rework now.

We can always rethink strategy when something is on fire.

RobHofmann avatar Oct 11 '25 13:10 RobHofmann