Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 6 additions & 21 deletions drivers/Thermostat-Sinope-TH1123ZB.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* 1.0 (2022-12-31): Initial release
* 1.1 (2022-01-04): Handled short circuit and rmsVoltage/rmsCurrent
* 1.2 (2024-11-25): Remove generic Thermostat capability
* Author: fblackburn
* Inspired by:
* - Sinope => https://github.com/SmartThingsCommunity/SmartThingsPublic/tree/master/devicetypes/sinope-technologies
Expand All @@ -22,15 +23,14 @@ metadata
author: 'fblackburn',
) {
capability 'Configuration'
capability 'Thermostat'
capability 'CurrentMeter'
capability 'EnergyMeter'
capability 'Lock'
capability 'PowerMeter'
capability 'Refresh'
capability 'TemperatureMeasurement'
capability 'ThermostatHeatingSetpoint'
capability 'ThermostatMode'
capability 'Lock'
capability 'PowerMeter'
capability 'EnergyMeter'
capability 'CurrentMeter'
capability 'VoltageMeasurement'

attribute 'maxPower', 'number'
Expand Down Expand Up @@ -69,11 +69,6 @@ metadata
command('emergencyHeat', notSupported)
command('auto', notSupported)
command('cool', notSupported)
command('fanCirculate', notSupported)
command('fanOn', notSupported)
command('fanAuto', notSupported)
command('setThermostatFanMode', notSupported)
command('setCoolingSetpoint', notSupported)

fingerprint(
manufacturer: 'Sinope Technologies',
Expand Down Expand Up @@ -195,7 +190,7 @@ List<Map> parse(String description) {
}
if (descMap.additionalAttrs) {
// When many events from same cluster must be sent at the same time,
// device other events in additionalAttrs instead of sending several
// device send other events in additionalAttrs instead of sending several
if (settings.trace) {
log.trace "TH112XZB >> Found additionalAttrs: ${descMap}"
}
Expand Down Expand Up @@ -346,16 +341,6 @@ void auto() { return }

void emergencyHeat() { return }

void setCoolingSetpoint() { return }

void fanCirculate() { return }

void fanOn() { return }

void fanAuto() { return }

void setThermostatFanMode() { return }

List<String> getSupportedThermostatModes() {
return ['heat', 'off']
}
Expand Down
Loading