From fab64d2493d944e2e637f4a111cb96dc6006fe96 Mon Sep 17 00:00:00 2001 From: Nick DeBoom Date: Wed, 4 Jun 2025 12:42:24 -0500 Subject: [PATCH] Add new profiles including thermostatOperatingState Adding new profiles for thermostats with no battery after support for thermostatOperatingState was added. Previously, devices would use `thermostat-heating-only-nostate-nobattery` (for example) whether or not they supported ThermostatRunningState. --- .../thermostat-cooling-only-nobattery.yml | 24 +++++++++++++++++ .../thermostat-heating-only-nobattery.yml | 24 +++++++++++++++++ .../profiles/thermostat-nobattery.yml | 27 +++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 drivers/SmartThings/matter-thermostat/profiles/thermostat-cooling-only-nobattery.yml create mode 100644 drivers/SmartThings/matter-thermostat/profiles/thermostat-heating-only-nobattery.yml create mode 100644 drivers/SmartThings/matter-thermostat/profiles/thermostat-nobattery.yml diff --git a/drivers/SmartThings/matter-thermostat/profiles/thermostat-cooling-only-nobattery.yml b/drivers/SmartThings/matter-thermostat/profiles/thermostat-cooling-only-nobattery.yml new file mode 100644 index 0000000000..45858cfdc9 --- /dev/null +++ b/drivers/SmartThings/matter-thermostat/profiles/thermostat-cooling-only-nobattery.yml @@ -0,0 +1,24 @@ +name: thermostat-cooling-only-nobattery +components: +- id: main + capabilities: + - id: temperatureMeasurement + version: 1 + - id: thermostatMode + version: 1 + - id: thermostatCoolingSetpoint + version: 1 + - id: thermostatOperatingState + version: 1 + config: + values: + - key: "thermostatOperatingState.value" + enabledValues: + - idle + - cooling + - id: firmwareUpdate + version: 1 + - id: refresh + version: 1 + categories: + - name: Thermostat diff --git a/drivers/SmartThings/matter-thermostat/profiles/thermostat-heating-only-nobattery.yml b/drivers/SmartThings/matter-thermostat/profiles/thermostat-heating-only-nobattery.yml new file mode 100644 index 0000000000..a5c946b6c1 --- /dev/null +++ b/drivers/SmartThings/matter-thermostat/profiles/thermostat-heating-only-nobattery.yml @@ -0,0 +1,24 @@ +name: thermostat-heating-only-nobattery +components: +- id: main + capabilities: + - id: temperatureMeasurement + version: 1 + - id: thermostatMode + version: 1 + - id: thermostatHeatingSetpoint + version: 1 + - id: thermostatOperatingState + version: 1 + config: + values: + - key: "thermostatOperatingState.value" + enabledValues: + - idle + - heating + - id: firmwareUpdate + version: 1 + - id: refresh + version: 1 + categories: + - name: Thermostat diff --git a/drivers/SmartThings/matter-thermostat/profiles/thermostat-nobattery.yml b/drivers/SmartThings/matter-thermostat/profiles/thermostat-nobattery.yml new file mode 100644 index 0000000000..ecbd592df7 --- /dev/null +++ b/drivers/SmartThings/matter-thermostat/profiles/thermostat-nobattery.yml @@ -0,0 +1,27 @@ +name: thermostat-nobattery +components: +- id: main + capabilities: + - id: temperatureMeasurement + version: 1 + - id: thermostatMode + version: 1 + - id: thermostatHeatingSetpoint + version: 1 + - id: thermostatCoolingSetpoint + version: 1 + - id: thermostatOperatingState + version: 1 + config: + values: + - key: "thermostatOperatingState.value" + enabledValues: + - idle + - cooling + - heating + - id: firmwareUpdate + version: 1 + - id: refresh + version: 1 + categories: + - name: Thermostat