rename summer/winter switch to heatingMainSwitch
This commit is contained in:
6
dist/main.js
vendored
6
dist/main.js
vendored
@ -310,9 +310,9 @@ allLabeledItems.forEach((item) => {
|
||||
// logger.info(JSON.stringify(openhabList))
|
||||
}
|
||||
});
|
||||
let summerSwitchExport = MaxThermostat_1.MaxThermostat.exportSummerSwitchItem();
|
||||
if (summerSwitchExport != null) {
|
||||
let da = summerSwitchExport['openhab'];
|
||||
let heatingMainSwitchExport = MaxThermostat_1.MaxThermostat.exportHeatingMainSwitchItem();
|
||||
if (heatingMainSwitchExport != null) {
|
||||
let da = heatingMainSwitchExport['openhab'];
|
||||
openhabList.push(da);
|
||||
}
|
||||
fs.writeFileSync(config.dict.homekitFile, JSON.stringify(homekitObject, null, 4));
|
||||
|
Reference in New Issue
Block a user