diff --git a/package.json b/package.json index db0b798..db61acb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": false, "displayName": "Homebridge Actron Que", "name": "homebridge-actron-que", - "version": "1.2.5", + "version": "1.2.6", "description": "Homebridge plugin for controlling Actron Que controller systems", "license": "Apache-2.0", "repository": { diff --git a/src/schema.ts b/src/schema.ts index 8a13edd..eadc457 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -8,10 +8,7 @@ export const SystemStatusSchema: Schema = { lastKnownState: { properties: { LiveAircon: { - properties: { - AmRunningFan: { - type: 'boolean', - }, + optionalProperties:{ CanRunSystem: { type: 'boolean', }, @@ -21,22 +18,33 @@ export const SystemStatusSchema: Schema = { CompressorCapacity: { type: 'uint8', }, - CompressorChasingTemperature: { + IndoorUnitTemp: { type: 'float64', }, - CompressorLiveTemperature: { - type: 'float64', + LastCompressorPowerChange: { + type: 'string', }, - CompressorMode: { + LastCompressorPowerChange_time: { type: 'string', }, - IndoorUnitTemp: { + SystemOn: { + type: 'boolean', + }, + ZoneDemandSufficient: { + type: 'boolean', + }, + }, + properties: { + AmRunningFan: { + type: 'boolean', + }, + CompressorChasingTemperature: { type: 'float64', }, - LastCompressorPowerChange: { - type: 'string', + CompressorLiveTemperature: { + type: 'float64', }, - LastCompressorPowerChange_time: { + CompressorMode: { type: 'string', }, OutdoorUnit: { @@ -77,17 +85,11 @@ export const SystemStatusSchema: Schema = { }, additionalProperties: true, }, - SystemOn: { - type: 'boolean', - }, - ZoneDemandSufficient: { - type: 'boolean', - }, }, additionalProperties: true, }, MasterInfo: { - properties: { + optionalProperties:{ CanOperate: { type: 'boolean', }, @@ -97,6 +99,8 @@ export const SystemStatusSchema: Schema = { CloudReachable: { type: 'boolean', }, + }, + properties: { ControlAllZones: { type: 'boolean', },