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

Cannot open Settings -> Home Assistant Cloud -> Alexa: Manage Entities with this integration enabled #360

Closed
pdunkley opened this issue Mar 31, 2023 · 3 comments

Comments

@pdunkley
Copy link

When this integration is enabled opening the above mentioned page results in the 3/4 circle continuing to show. With this integration disabled the page opens instantly.

The Home Assistand Core log file contains this error:

Logger: homeassistant.components.cloud.http_api
Source: components/alexa/entities.py:467
Integration: Home Assistant Cloud ([documentation](https://www.home-assistant.io/integrations/cloud), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+cloud%22))
First occurred: 13:48:33 (1 occurrences)
Last logged: 13:48:33

Unexpected error processing request for cloud/alexa/entities
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/cloud/http_api.py", line 129, in error_handler
    return await handler(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/cloud/http_api.py", line 600, in alexa_list
    entities = alexa_entities.async_get_entities(hass, alexa_config)
  File "/usr/src/homeassistant/homeassistant/components/alexa/entities.py", line 378, in async_get_entities
    if not list(alexa_entity.interfaces()):
  File "/usr/src/homeassistant/homeassistant/components/alexa/entities.py", line 467, in interfaces
    if climate.HVACMode.OFF in self.entity.attributes.get(
TypeError: argument of type 'NoneType' is not iterable
@msp1974
Copy link
Collaborator

msp1974 commented Apr 4, 2023

Don't see this happening. Can only think if you have got a room that you have deleted that is exposed to Alexa? If so, delete the device with the integration enabled. Let me know.

EDIT: Just looking at the code, do you have an heating actuator with floor temp sensor?

@msp1974 msp1974 mentioned this issue Apr 5, 2023
@msp1974
Copy link
Collaborator

msp1974 commented Apr 5, 2023

OK, managed to recreate and fix the issue. v3.3.2 just released with this fix in. Please can you test and confirm.

@pdunkley
Copy link
Author

pdunkley commented Apr 7, 2023

Looks like this has fixed it. Thanks!

@pdunkley pdunkley closed this as completed Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants