Skip to content

Commit

Permalink
JSON-encode supportedThermostatModes and supportedThermostatFanModes
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkinast committed Dec 7, 2022
1 parent f66640b commit fc27999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hubitat-mitsubishi-mqtt.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Hubitat Device Driver
* Mitsubishi Heat Pump + MQTT
* v1.1.1
* v1.1.2
* https://github.com/sethkinast/hubitat-mitsubishi-mqtt/
*
* Control Mitsubishi heat pumps using HeatPump.cpp via MQTT
Expand Down Expand Up @@ -124,8 +124,8 @@ void configure() {
sendEvent(name: 'thermostatSetpoint', value: convertTemperatureIfNeeded(70.0, 'F', 1), unit: getTemperatureUnit())
sendEvent(name: 'heatingSetpoint', value: convertTemperatureIfNeeded(70.0, 'F', 1), unit: getTemperatureUnit())
sendEvent(name: 'coolingSetpoint', value: convertTemperatureIfNeeded(70.0, 'F', 1), unit: getTemperatureUnit())
sendEvent(name: 'supportedThermostatFanModes', value: supportedThermostatFanModes)
sendEvent(name: 'supportedThermostatModes', value: supportedThermostatModes)
sendEvent(name: 'supportedThermostatFanModes', value: JsonOutput.toJson(supportedThermostatFanModes))
sendEvent(name: 'supportedThermostatModes', value: JsonOutput.toJson(supportedThermostatModes))
sendEvent(name: 'thermostatOperatingState', value: 'idle')
sendEvent(name: 'vane', value: 'AUTO')
sendEvent(name: 'wideVane', value: '|')
Expand Down

0 comments on commit fc27999

Please sign in to comment.