Skip to content

Commit

Permalink
Fix Sinopé TH1400ZB configure failing (#5255)
Browse files Browse the repository at this point in the history
* Update sinope.js

* Update and rename sinope.js to sinope.js

* fix lint
  • Loading branch information
MattL0 authored and Koenkk committed Jan 6, 2023
1 parent 503cf56 commit c0c65ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion devices/sinope.js
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,10 @@ module.exports = [
await reporting.thermostatTemperature(endpoint);
await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
await reporting.thermostatPIHeatingDemand(endpoint);
await reporting.thermostatSystemMode(endpoint);

try {
await reporting.thermostatSystemMode(endpoint);
} catch (error) {/* Not all support this */}

await endpoint.read('hvacThermostat', ['occupiedHeatingSetpoint', 'localTemp', 'systemMode', 'pIHeatingDemand',
'SinopeBacklight', 'maxHeatSetpointLimit', 'minHeatSetpointLimit', 'SinopeMainCycleOutput', 'SinopeAuxCycleOutput']);
Expand Down

0 comments on commit c0c65ae

Please sign in to comment.