1
7. ValueID interface
AlCalzone edited this page 2019-08-26 09:25:51 +02:00
The ValueID
interface uniquely identifies to which CC, endpoint and property a value belongs to:
{
commandClass: CommandClasses;
endpoint?: number;
propertyName: string;
propertyKey?: number | string;
}
It has four properties:
commandClass
- The numeric identifier of the command class.endpoint
- (optional) The index of the node's endpoint (sub-device).0
addresses the root device,>= 1
one of the single endpoints.propertyName
- The name of the property, for exampletargetValue
propertyKey
- (optional) Allows sub-addressing properties that contain multiple values (like combined sensors).