Skip to content

Commit

Permalink
Use previous available state (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Feb 8, 2024
1 parent 3a69982 commit 92c527c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matter_server/server/device_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ async def interview_node(self, node_id: int) -> None:
),
last_interview=datetime.utcnow(),
interview_version=DATA_MODEL_SCHEMA_VERSION,
available=True,
available=existing_info.available if existing_info else False,
attributes=parse_attributes_from_read_result(read_response.tlvAttributes),
)

Expand Down

0 comments on commit 92c527c

Please sign in to comment.