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

Detected that custom integration 'alexa_media' accesses hass.components.group #2203

Open
holdestmade opened this issue Mar 4, 2024 · 7 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@holdestmade
Copy link

holdestmade commented Mar 4, 2024

Describe the bug

Detected that custom integration 'alexa_media' accesses hass.components.group. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from group directly at custom_components/alexa_media/notify.py

To Reproduce

Install 2024.3.0b5

Expected behavior

NA

Screenshots

NA>

System details

  • Home-assistant (version): 2024.3.0b5
  • alexa_media (version from const.py or HA startup): 4.9.2
  • alexapy (version from pip show alexapy or HA startup): 4.9.2
  • Amazon [2FA is enabled]: Yes

Logs

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:156
First occurred: 4:51:57 pm (1 occurrences)
Last logged: 4:51:57 pm

Detected that custom integration 'alexa_media' accesses hass.components.group. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from group directly at custom_components/alexa_media/notify.py, line 240: entities.extend(self.hass.components.group.expand_entity_ids(entities)), please create a bug report at https://github.com/alandtse/alexa_media_player/issues

Additional context

@alandtse alandtse added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Mar 6, 2024
@alandtse
Copy link
Owner

alandtse commented Mar 6, 2024

Thanks!

@github-actions github-actions bot removed the help wanted Extra attention is needed label Mar 7, 2024
@Bikervossibaer
Copy link

I also get the identical error message "Detected that custom integration...".

I also receive another error message:

Logger: homeassistant.components.sensor
Quelle: helpers/entity_platform.py:358
Integration: Sensor (Dokumentation, Probleme)
Erstmals aufgetreten: 16:19:40 (1 Vorkommnisse)
Zuletzt protokolliert: 16:19:40

Error while setting up alexa_media platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 358, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 630, in async_add_entities
or not any(entity.should_poll for entity in entities)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 630, in
or not any(entity.should_poll for entity in entities)
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alexa_media/sensor.py", line 591, in should_poll
return not (self.hass.data[DATA_ALEXAMEDIA]["accounts"][self._account]["http2"])
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'

@say1897
Copy link

say1897 commented Mar 13, 2024

Logger: homeassistant.helpers.frame
Quelle: helpers/frame.py:156
Erstmals aufgetreten: 19:30:51 (1 Vorkommnisse)
Zuletzt protokolliert: 19:30:51

Detected that custom integration 'alexa_media' accesses hass.components.cloud. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from cloud directly at custom_components/alexa_media/config_flow.py, line 141: hass_url: str = get_url(self.hass, prefer_external=True), please create a bug report at https://github.com/alandtse/alexa_media_player/issues

@andyktaylor
Copy link

Same issue. Does rolling back HA version work?

@say1897
Copy link

say1897 commented Mar 20, 2024

Not in my case

@drizuid
Copy link

drizuid commented Mar 28, 2024

Same issue. Does rolling back HA version work?

it is just a warning, it still works. if yours isn't working, it's likely another issue.

Copy link

This bug report has been labelled as help wanted since there has been no activity in the last 3 weeks. It will not be closed automatically.

@github-actions github-actions bot added the help wanted Extra attention is needed label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants