rename summer/winter switch to heatingMainSwitch

This commit is contained in:
2018-04-09 16:28:24 +02:00
parent 245002acad
commit f0d32b5a2b
7 changed files with 39 additions and 31 deletions

View File

@ -401,9 +401,9 @@ allLabeledItems.forEach((item: AItem) => {
}
})
let summerSwitchExport : ExportType|null = MaxThermostat.exportSummerSwitchItem()
if (summerSwitchExport != null) {
let da : string = summerSwitchExport['openhab'] as string
let heatingMainSwitchExport : ExportType|null = MaxThermostat.exportHeatingMainSwitchItem()
if (heatingMainSwitchExport != null) {
let da : string = heatingMainSwitchExport['openhab'] as string
openhabList.push(da)
}