Skip to content

Commit

Permalink
Revert "Maybe fix errors in _async_subscribe_for_data #347 (#355)" (#364
Browse files Browse the repository at this point in the history
)

This reverts commit bc233ef.
  • Loading branch information
iMicknl authored Oct 5, 2024
1 parent bc233ef commit f62b82f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/nest_protect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ async def _async_subscribe_for_data(

LOGGER.debug(buckets)

objects: list[Bucket] = []
for b in data.updated_buckets:
objects.append(b)
objects = [
dict(b, **buckets.get(b.object_key, {})) for b in [data.updated_buckets]
]

data.updated_buckets = objects

Expand Down

0 comments on commit f62b82f

Please sign in to comment.