Skip to content

Commit

Permalink
Add metadata update back into test case
Browse files Browse the repository at this point in the history
  • Loading branch information
nickolas-deboom committed Jan 30, 2025
1 parent d141153 commit 5f42208
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
local test = require "integration_test"
local capabilities = require "st.capabilities"
local t_utils = require "integration_test.utils"
local uint32 = require "st.matter.data_types.Uint32"

local clusters = require "st.matter.clusters"

Expand Down Expand Up @@ -99,6 +100,9 @@ local function configure(device)

test.wait_for_events()

test.socket.matter:__queue_receive({mock_device.id, clusters.PowerSource.attributes.AttributeList:build_test_report_data(mock_device, 1, {uint32(0x0C)})})
mock_device:expect_metadata_update({ profile = "thermostat-nostate" })

--populate cached setpoint values. This would normally happen due to subscription setup.
test.socket.matter:__queue_receive({
device.id,
Expand Down

0 comments on commit 5f42208

Please sign in to comment.