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

Harmony integration fails to load #129660

Closed
ajcutshall opened this issue Nov 1, 2024 · 2 comments
Closed

Harmony integration fails to load #129660

ajcutshall opened this issue Nov 1, 2024 · 2 comments
Assignees

Comments

@ajcutshall
Copy link

The problem

The harmony integration for Harmony Hub fails to load on 2024.10.4.

What version of Home Assistant Core has the issue?

2024.10.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Harmony

Link to integration documentation on our website

https://www.home-assistant.io/integrations/harmony

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 7:21:53 PM (1 occurrences)
Last logged: 7:21:53 PM

Error setting up entry Harmony Hub for harmony
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/harmony/__init__.py", line 28, in async_setup_entry
    await data.connect()
  File "/usr/src/homeassistant/homeassistant/components/harmony/data.py", line 118, in connect
    connected = await self._client.connect()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aioharmony/harmonyapi.py", line 149, in connect
    return await self._harmony_client.connect()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aioharmony/harmonyclient.py", line 185, in connect
    with timeout(DEFAULT_TIMEOUT):
TypeError: 'Timeout' object does not support the context manager protocol

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Nov 1, 2024

Hey there @ehendrix23, @bdraco, @mkeesey, @Aohzan, mind taking a look at this issue as it has been labeled with an integration (harmony) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of harmony can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign harmony Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


harmony documentation
harmony source
(message by IssueLinks)

@Aohzan
Copy link
Contributor

Aohzan commented Nov 2, 2024

fixed by #129592

@bdraco bdraco closed this as completed Dec 8, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants