Warning on invalid value of TargetHeatingCoolingState
See original GitHub issueDescribe Your Problem:
Warning messages in log file stating “This plugin generated a warning from the characteristic ‘Target Heating Cooling State’: characteristic value 3 is not contained in valid values array. See https://git.io/JtMGR for more info.” Not sure why value 3 is invalid and just checked the code of HAP looks like value 3 means auto mode: `export class TargetHeatingCoolingState extends Characteristic {
public static readonly UUID: string = “00000033-0000-1000-8000-0026BB765291”;
public static readonly OFF = 0; public static readonly HEAT = 1; public static readonly COOL = 2; public static readonly AUTO = 3;
constructor() { super(“Target Heating Cooling State”, TargetHeatingCoolingState.UUID, { format: Formats.UINT8, perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE], minValue: 0, maxValue: 3, minStep: 1, validValues: [0, 1, 2, 3], }); this.value = this.getDefaultValue(); } }`
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (7 by maintainers)
Top GitHub Comments
Thanks! I think I know where to look now, your help is very much appreciated!
See https://github.com/homebridge/homebridge/wiki/Characteristic-Warnings, you can turn on debug mode.