Skip to content

Commit 92c527c

Browse files
authored
Use previous available state (#540)
1 parent 3a69982 commit 92c527c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matter_server/server/device_controller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ async def interview_node(self, node_id: int) -> None:
513513
),
514514
last_interview=datetime.utcnow(),
515515
interview_version=DATA_MODEL_SCHEMA_VERSION,
516-
available=True,
516+
available=existing_info.available if existing_info else False,
517517
attributes=parse_attributes_from_read_result(read_response.tlvAttributes),
518518
)
519519

0 commit comments

Comments
 (0)