Skip to content

Matter Thermostat: Add 'off' to thermostatMode by default only if switch is not supported#2761

Open
hcarter-775 wants to merge 1 commit intomainfrom
thermostat-mode-off-conditional
Open

Matter Thermostat: Add 'off' to thermostatMode by default only if switch is not supported#2761
hcarter-775 wants to merge 1 commit intomainfrom
thermostat-mode-off-conditional

Conversation

@hcarter-775
Copy link
Contributor

Description of Change

Insert gating to only add the optional "off" mode to thermostatMode in the case that the switch capability is not supported, since this can implement the same behavior more naturally.

Summary of Completed Tests

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Test Results

   71 files    485 suites   0s ⏱️
2 518 tests 2 518 ✅ 0 💤 0 ❌
4 332 runs  4 332 ✅ 0 💤 0 ❌

Results for commit 0e2b5c9.

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

File Coverage
All files 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/thermostat_utils/legacy_device_configuration.lua 86%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/thermostat_utils/utils.lua 93%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/thermostat_utils/device_configuration.lua 91%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/thermostat_utils/embedded_cluster_utils.lua 95%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/init.lua 98%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/thermostat_handlers/attribute_handlers.lua 81%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-thermostat/src/thermostat_handlers/capability_handlers.lua 88%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 0e2b5c9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants