Skip to content

[BUG] KeyError accessing zone data for device #201

@nsleigh

Description

@nsleigh

Describe the bug
My hive integration seems to be working ok but the battery status is always 100% for all devices - this only started a few days ago. I removed the integration and re-added it to ensure the authentication was ok - before adding I deleted all the HA 2FA accounts in the Hive app.

The only warning I see is this - would that explain the issue?

This error originated from a custom integration.

Logger: apyhiveapi.helper.hive_helper
Source: custom_components/hive/__init__.py:42
Integration: Hive
First occurred: 08:57:52 (77 occurrences)
Last logged: 08:57:52

getDeviceData - KeyError accessing zone data for device ********-33b1-47ee-ab50-5325********: 'zone'
getDeviceData - KeyError accessing zone data for device ********-fe42-4aba-a824-edc7********: 'zone'
getDeviceData - KeyError accessing zone data for device ********-d20d-4130-b0ae-f4eb********: 'zone'
getDeviceData - KeyError accessing zone data for device ********-5ebb-4629-9909-3bb6********: 'zone'
getDeviceData - KeyError accessing zone data for device ********-724b-4d0e-b1a5-98d8********: 'zone'

Screenshots
I also see this if I try to reload the integration

Image

Desktop (please complete the following information):

  • OS: iOS, Windows, MacOS
  • Browser: Chrome or iOS App
  • Version: various

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions