presence_simulation icon indicating copy to clipboard operation
presence_simulation copied to clipboard

'presence_simulation' sets option flow config_entry explicitly, which is deprecated

Open Xander-V opened this issue 11 months ago • 3 comments

I get the following error in my log-files:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 00:51:15 (1 occurrences)
Last logged: 00:51:15
Detected that custom integration 'presence_simulation' sets option flow config_entry explicitly, which is deprecated at custom_components/presence_simulation/config_flow.py, line 72: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/slashback100/presence_simulation/issues

Still almost a year to go before it'll stop working, but probably quite easy to change as well.

Xander-V avatar Dec 25 '24 22:12 Xander-V

i see exactly the same message in my log. Wondering @slashback100 if the automation still works even with this error?

Thanks Marco

haferm avatar Feb 16 '25 16:02 haferm

Yes, it will still work until December 2025

slashback100 avatar Feb 16 '25 16:02 slashback100

Yes, it will still work until December 2025

and for the time after December 2025 you will create an fix i presume?

Thanks for this really cool plugin, i just created an trigger for the "presence_simulation_change" which triggers after enabling, waiting now for the first automation :)

Thanks and regards MArco

haferm avatar Feb 16 '25 16:02 haferm

Hi, On my HA 2025.10.4 the presence simulation won't start.

Same issue as the OP.

Logger: homeassistant.helpers.frame Bron: helpers/frame.py:350 Eerst voorgekomen: 13:28:15 (1 gebeurtenis) Laatst gelogd: 13:28:15

Detected that custom integration 'presence_simulation' sets option flow config_entry explicitly, which is deprecated at custom_components/presence_simulation/config_flow.py, line 72: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/slashback100/presence_simulation/issues

Would be nice if you could fix that. Worked nicely before!

ericmo1 avatar Oct 31 '25 12:10 ericmo1