home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.15k stars 29.83k forks source link

Genius Hub invalid config #104534

Closed Chrisgreethamellis closed 6 months ago

Chrisgreethamellis commented 9 months ago

The problem

Hello, the genius hub integration fails to start. This is since having to make changes to the genius hub side. Had to remove dead nodes to replace them. This has happened a few times in the past but a reboot or software update has solved it. This time it has been several weeks and I cannot get the integration back online.

What version of Home Assistant Core has the issue?

core-2023.11.3

What was the last working version of Home Assistant Core?

Core-2023.09.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Genius hub

Link to integration documentation on our website

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

Diagnostics information

Logger: homeassistant.setup Source: setup.py:288 First occurred: 25 November 2023 at 23:35:35 (1 occurrences) Last logged: 25 November 2023 at 23:35:35

Error during setup of component geniushub Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 288, in _async_setup_component result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/geniushub/init.py", line 124, in async_setup await client.update() File "/usr/local/lib/python3.11/site-packages/geniushubclient/init.py", line 241, in update super().update() # now parse all the JSON ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/geniushubclient/init.py", line 179, in update self.issues = [ ^ File "/usr/local/lib/python3.11/site-packages/geniushubclient/init.py", line 180, in GeniusIssue(raw_json, self.device_by_id).data File "/usr/local/lib/python3.11/site-packages/geniushubclient/issue.py", line 79, in data return convert_issue(self._raw) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/geniushubclient/issue.py", line 64, in convert_issue device_type = device.data["type"]


KeyError: 'type'

### Example YAML snippet

_No response_

### Anything in the logs that might be useful for us?

_No response_

### Additional information

_No response_
home-assistant[bot] commented 9 months ago

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

Code owner commands Code owners of `geniushub` 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 geniushub` 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)


geniushub documentation geniushub source (message by IssueLinks)

issue-triage-workflows[bot] commented 6 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

MongerGodfrey87 commented 5 months ago

Hi. I'm also having the same issue after upgrading. Was there ever a resolution to this?

Chrisgreethamellis commented 5 months ago

I’ve found that any errors in genius hub cause this. So if you have any warnings on your genius hub all, you’ll experience this issue. Even a low battery warning. If you can resolve them all and reboot both Genius Hub and HASS, you will probably find it works again. That’s been my solution for the last few months.

Than,

Chris Greetham-Ellis +44 7515 031895


From: MongerGodfrey87 @.> Sent: Saturday, March 23, 2024 12:26:55 PM To: home-assistant/core @.> Cc: Chris Greetham-Ellis @.>; Author @.> Subject: Re: [home-assistant/core] Genius Hub invalid config (Issue #104534)

Hi. I'm also having the same issue after upgrading. Was there ever a resolution to this?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/104534#issuecomment-2016478862, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5SKZUTDMPXYLIFNNF5O2N3YZVYI7AVCNFSM6AAAAAA72VSM36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGQ3TQOBWGI. You are receiving this because you authored the thread.Message ID: @.***>

MongerGodfrey87 commented 5 months ago

Thanks Chris - I do have a couple of low battery warnings (and a few issues after latest updates). I'll change those out and give it a restart. Many thanks.

UPDATE: It worked! It took a couple of full restarts of both, but now syncing fine. Many thanks!