Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing hass.helpers.aiohttp_client will stop working in HA 2024.11 #104

Open
4 of 5 tasks
sehraf opened this issue Sep 18, 2024 · 1 comment
Open
4 of 5 tasks
Labels

Comments

@sehraf
Copy link

sehraf commented Sep 18, 2024

With which version of the integration you have an issue?

WEB.API: mein-senec.de Portal

Multiple Systems Environment?

  • I have multiple SENEC Systems (master/slave configuration)

Checklist

  • I have installed the latest release (or BETA) version of the integration and home assistant.
  • I have prepared DEBUG log output (for technical issues) | In most of the cases of a technical error/issue I would have the need to ask for DEBUG log output of the integration. There is a short tutorial/guide 'How to provide DEBUG log' here
  • I understand the SHIT-IN - SHIT-OUT principle (in case of implausible data) | It will happen, that the data that is displayed by this integration does not make much sense (to you) - Of course this could be always the case, that something in this integration has been messed up - but so far - in all reported issues the root cause of implausible data was/is, that the SENEC.Home device itself already provided this data
  • I confirm it's really an issue | In the case that you want to understand the functionality of a certain feature/sensor Please be so kind and make use if the discussion feature of this repo (and do not create an issue) - TIA

Add a description

I've setup the web api and found this in the logs: Home Assistant complains about usage of a deprecated feature:

WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'senec' accesses hass.helpers.aiohttp_client. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from aiohttp_client directly at custom_components/senec/config_flow.py, line 177: web_session = self.hass.helpers.aiohttp_client.async_create_clientsession(auto_cleanup=False), please create a bug report at https://github.com/marq24/ha-senec-v3/issues

While 2024.11 isn't around the corner, the "will stop working" part might be of your interest.

Add your DEBUG log output

2024-09-18 12:55:40.536 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'senec' accesses hass.helpers.aiohttp_client. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from aiohttp_client directly at custom_components/senec/config_flow.py, line 177: web_session = self.hass.helpers.aiohttp_client.async_create_clientsession(auto_cleanup=False), please create a bug report at https://github.com/marq24/ha-senec-v3/issues
@sehraf sehraf added the bug Something isn't working label Sep 18, 2024
@marq24 marq24 added feedback and removed bug Something isn't working labels Sep 18, 2024
@marq24
Copy link
Owner

marq24 commented Sep 18, 2024

thanks for the hint - will be fixed till Nov 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants