From 7d673cd9c42e91b1fe742945186bd06c76ea4057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Sat, 7 Feb 2026 09:49:56 +0000 Subject: [PATCH] Update occupancy sensing PIR attributes for detection delay and threshold --- tests/components/matter/test_number.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/components/matter/test_number.py b/tests/components/matter/test_number.py index 5a1c6092ba1..17fe334ab95 100644 --- a/tests/components/matter/test_number.py +++ b/tests/components/matter/test_number.py @@ -350,7 +350,7 @@ async def test_occupancy_sensing_pir_attributes( assert state.attributes["max"] == 65534 assert state.attributes["unit_of_measurement"] == "s" - set_node_attribute(matter_node, 1, 1030, 0x11, 20) + set_node_attribute(matter_node, 1, 1030, 17, 20) await trigger_subscription_callback(hass, matter_client) state = hass.states.get("number.mock_pir_occupancy_sensor_detection_delay") assert state @@ -363,7 +363,7 @@ async def test_occupancy_sensing_pir_attributes( assert state.attributes["min"] == 1 assert state.attributes["max"] == 254 - set_node_attribute(matter_node, 1, 1030, 0x12, 5) + set_node_attribute(matter_node, 1, 1030, 18, 5) await trigger_subscription_callback(hass, matter_client) state = hass.states.get("number.mock_pir_occupancy_sensor_detection_threshold") assert state