You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that HAKit fails to create an HAEntity when processing data from the sensor history REST API. In some array elements returned by Home Assistant, the context key seems to be missing. As a result, the following initializer:
throws an error when attempting to decode the context field.
HAKit version: 0.4.4
Home Assistant version: 2024.12.0
PS: HAKit never encountered this issue with Home Assistant 2024.4.x. I updated Home Assistant to the latest version a few days ago, and the bug appeared. This might be related to changes in how Home Assistant now generates the history array—but that’s just a guess.
The text was updated successfully, but these errors were encountered:
It appears that HAKit fails to create an
HAEntity
when processing data from the sensor history REST API. In some array elements returned by Home Assistant, thecontext
key seems to be missing. As a result, the following initializer:throws an error when attempting to decode the
context
field.HAKit version: 0.4.4
Home Assistant version: 2024.12.0
PS: HAKit never encountered this issue with Home Assistant 2024.4.x. I updated Home Assistant to the latest version a few days ago, and the bug appeared. This might be related to changes in how Home Assistant now generates the history array—but that’s just a guess.
The text was updated successfully, but these errors were encountered: