@zwave-js/cc 15.27.1 → 15.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
- package/build/cjs/cc/AssociationCC.js +6 -5
- package/build/cjs/cc/AssociationCC.js.map +2 -2
- package/build/cjs/cc/AssociationGroupInfoCC.js +5 -5
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
- package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
- package/build/cjs/cc/BasicCC.d.ts +4 -1
- package/build/cjs/cc/BasicCC.js +18 -0
- package/build/cjs/cc/BasicCC.js.map +3 -3
- package/build/cjs/cc/BasicWindowCoveringCC.js.map +2 -2
- package/build/cjs/cc/BatteryCC.js +18 -4
- package/build/cjs/cc/BatteryCC.js.map +2 -2
- package/build/cjs/cc/BinarySensorCC.js +5 -1
- package/build/cjs/cc/BinarySensorCC.js.map +2 -2
- package/build/cjs/cc/BinarySwitchCC.d.ts +4 -1
- package/build/cjs/cc/BinarySwitchCC.js +18 -0
- package/build/cjs/cc/BinarySwitchCC.js.map +3 -3
- package/build/cjs/cc/CRC16CC.d.ts +3 -2
- package/build/cjs/cc/CRC16CC.js +7 -1
- package/build/cjs/cc/CRC16CC.js.map +3 -3
- package/build/cjs/cc/CentralSceneCC.js.map +2 -2
- package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
- package/build/cjs/cc/ClockCC.js.map +2 -2
- package/build/cjs/cc/ColorSwitchCC.js +1 -4
- package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
- package/build/cjs/cc/ConfigurationCC.js +16 -8
- package/build/cjs/cc/ConfigurationCC.js.map +2 -2
- package/build/cjs/cc/DeviceResetLocallyCC.js.map +2 -2
- package/build/cjs/cc/DoorLockCC.js +1 -1
- package/build/cjs/cc/DoorLockCC.js.map +2 -2
- package/build/cjs/cc/EntryControlCC.js.map +2 -2
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +4 -16
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlSetpointCC.js +10 -4
- package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
- package/build/cjs/cc/IndicatorCC.js +5 -8
- package/build/cjs/cc/IndicatorCC.js.map +2 -2
- package/build/cjs/cc/IrrigationCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerSpecificCC._validateArgs.d.ts +1 -0
- package/build/cjs/cc/ManufacturerSpecificCC._validateArgs.js +13 -0
- package/build/cjs/cc/ManufacturerSpecificCC._validateArgs.js.map +2 -2
- package/build/cjs/cc/ManufacturerSpecificCC.d.ts +6 -4
- package/build/cjs/cc/ManufacturerSpecificCC.js +41 -8
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
- package/build/cjs/cc/MeterCC.js +18 -29
- package/build/cjs/cc/MeterCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelAssociationCC.js +11 -7
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelCC.d.ts +3 -1
- package/build/cjs/cc/MultiChannelCC.js +21 -10
- package/build/cjs/cc/MultiChannelCC.js.map +3 -3
- package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +5 -1
- package/build/cjs/cc/MultilevelSwitchCC.js +30 -0
- package/build/cjs/cc/MultilevelSwitchCC.js.map +3 -3
- package/build/cjs/cc/NotificationCC.js +29 -11
- package/build/cjs/cc/NotificationCC.js.map +2 -2
- package/build/cjs/cc/PowerlevelCC.js.map +1 -1
- package/build/cjs/cc/ProtectionCC.js +2 -0
- package/build/cjs/cc/ProtectionCC.js.map +2 -2
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
- package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
- package/build/cjs/cc/Security2CC.d.ts +2 -1
- package/build/cjs/cc/Security2CC.js +31 -3
- package/build/cjs/cc/Security2CC.js.map +2 -2
- package/build/cjs/cc/SecurityCC.d.ts +3 -2
- package/build/cjs/cc/SecurityCC.js +7 -6
- package/build/cjs/cc/SecurityCC.js.map +2 -2
- package/build/cjs/cc/SoundSwitchCC.js +6 -6
- package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
- package/build/cjs/cc/SupervisionCC.d.ts +2 -1
- package/build/cjs/cc/SupervisionCC.js +6 -0
- package/build/cjs/cc/SupervisionCC.js.map +3 -3
- package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatModeCC.js +1 -3
- package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetpointCC.d.ts +4 -1
- package/build/cjs/cc/ThermostatSetpointCC.js +18 -0
- package/build/cjs/cc/ThermostatSetpointCC.js.map +3 -3
- package/build/cjs/cc/TimeCC.js.map +2 -2
- package/build/cjs/cc/TransportServiceCC.js.map +2 -2
- package/build/cjs/cc/UserCodeCC.js +3 -6
- package/build/cjs/cc/UserCodeCC.js.map +2 -2
- package/build/cjs/cc/UserCredentialCC.js +8 -6
- package/build/cjs/cc/UserCredentialCC.js.map +2 -2
- package/build/cjs/cc/VersionCC.js.map +2 -2
- package/build/cjs/cc/WindowCoveringCC.js +5 -1
- package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
- package/build/cjs/cc/ZWaveProtocolCC.js +3 -11
- package/build/cjs/cc/ZWaveProtocolCC.js.map +2 -2
- package/build/cjs/cc/_CCValues.generated.d.ts +4 -4
- package/build/cjs/cc/_CCValues.generated.js +1 -1
- package/build/cjs/cc/_CCValues.generated.js.map +2 -2
- package/build/cjs/cc/index.d.ts +179 -179
- package/build/cjs/cc/index.js.map +1 -1
- package/build/cjs/cc/manufacturerProprietary/Decorators.js.map +2 -2
- package/build/cjs/lib/API.d.ts +3 -2
- package/build/cjs/lib/API.js.map +2 -2
- package/build/cjs/lib/CommandClass.d.ts +23 -1
- package/build/cjs/lib/CommandClass.js +63 -15
- package/build/cjs/lib/CommandClass.js.map +3 -3
- package/build/cjs/lib/CommandClassDecorators.js.map +2 -2
- package/build/cjs/lib/EncapsulatingCommandClass.js.map +2 -2
- package/build/cjs/lib/NotificationEventPayload.js.map +2 -2
- package/build/cjs/lib/Security2/Extension.js +1 -4
- package/build/cjs/lib/Security2/Extension.js.map +2 -2
- package/build/cjs/lib/Security2/shared.js.map +2 -2
- package/build/cjs/lib/SetValueResult.js.map +1 -1
- package/build/cjs/lib/Values.d.ts +1 -1
- package/build/cjs/lib/Values.js.map +2 -2
- package/build/cjs/lib/_CCAPI.generated.js.map +1 -1
- package/build/cjs/lib/_Types.d.ts +34 -30
- package/build/cjs/lib/_Types.js +7 -0
- package/build/cjs/lib/_Types.js.map +3 -3
- package/build/cjs/lib/serializers.js +1 -4
- package/build/cjs/lib/serializers.js.map +2 -2
- package/build/cjs/lib/utils.js.map +2 -2
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
- package/build/esm/cc/AlarmSensorCC.js +1 -2
- package/build/esm/cc/AlarmSensorCC.js.map +1 -1
- package/build/esm/cc/AssociationCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationCC.js +8 -7
- package/build/esm/cc/AssociationCC.js.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.js +11 -12
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.js +10 -9
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
- package/build/esm/cc/BasicCC.d.ts +4 -1
- package/build/esm/cc/BasicCC.d.ts.map +1 -1
- package/build/esm/cc/BasicCC.js +30 -7
- package/build/esm/cc/BasicCC.js.map +1 -1
- package/build/esm/cc/BasicWindowCoveringCC.d.ts.map +1 -1
- package/build/esm/cc/BasicWindowCoveringCC.js +2 -5
- package/build/esm/cc/BasicWindowCoveringCC.js.map +1 -1
- package/build/esm/cc/BatteryCC.d.ts.map +1 -1
- package/build/esm/cc/BatteryCC.js +17 -14
- package/build/esm/cc/BatteryCC.js.map +1 -1
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySensorCC.js +12 -7
- package/build/esm/cc/BinarySensorCC.js.map +1 -1
- package/build/esm/cc/BinarySwitchCC.d.ts +4 -1
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySwitchCC.js +31 -6
- package/build/esm/cc/BinarySwitchCC.js.map +1 -1
- package/build/esm/cc/CRC16CC.d.ts +3 -2
- package/build/esm/cc/CRC16CC.d.ts.map +1 -1
- package/build/esm/cc/CRC16CC.js +10 -4
- package/build/esm/cc/CRC16CC.js.map +1 -1
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
- package/build/esm/cc/CentralSceneCC.js +2 -1
- package/build/esm/cc/CentralSceneCC.js.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.js +6 -2
- package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
- package/build/esm/cc/ClockCC.d.ts.map +1 -1
- package/build/esm/cc/ClockCC.js +6 -2
- package/build/esm/cc/ClockCC.js.map +1 -1
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/ColorSwitchCC.js +17 -20
- package/build/esm/cc/ColorSwitchCC.js.map +1 -1
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/ConfigurationCC.js +37 -33
- package/build/esm/cc/ConfigurationCC.js.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.js +1 -2
- package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -1
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockCC.js +26 -30
- package/build/esm/cc/DoorLockCC.js.map +1 -1
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
- package/build/esm/cc/EntryControlCC.js +10 -7
- package/build/esm/cc/EntryControlCC.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +15 -27
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.js +8 -9
- package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
- package/build/esm/cc/IndicatorCC.js +27 -42
- package/build/esm/cc/IndicatorCC.js.map +1 -1
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
- package/build/esm/cc/IrrigationCC.js +8 -6
- package/build/esm/cc/IrrigationCC.js.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js +1 -2
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC._validateArgs.d.ts +1 -0
- package/build/esm/cc/ManufacturerSpecificCC._validateArgs.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC._validateArgs.js +10 -0
- package/build/esm/cc/ManufacturerSpecificCC._validateArgs.js.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +6 -4
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.js +54 -17
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
- package/build/esm/cc/MeterCC.d.ts.map +1 -1
- package/build/esm/cc/MeterCC.js +28 -38
- package/build/esm/cc/MeterCC.js.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.js +15 -20
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
- package/build/esm/cc/MultiChannelCC.d.ts +3 -1
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelCC.js +28 -22
- package/build/esm/cc/MultiChannelCC.js.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.js +11 -11
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.d.ts +5 -1
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.js +56 -16
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
- package/build/esm/cc/NotificationCC.d.ts.map +1 -1
- package/build/esm/cc/NotificationCC.js +66 -55
- package/build/esm/cc/NotificationCC.js.map +1 -1
- package/build/esm/cc/PowerlevelCC.d.ts.map +1 -1
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
- package/build/esm/cc/ProtectionCC.js +13 -9
- package/build/esm/cc/ProtectionCC.js.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.js +5 -8
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.js +10 -16
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.js +13 -20
- package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
- package/build/esm/cc/Security2CC.d.ts +2 -1
- package/build/esm/cc/Security2CC.d.ts.map +1 -1
- package/build/esm/cc/Security2CC.js +68 -32
- package/build/esm/cc/Security2CC.js.map +1 -1
- package/build/esm/cc/SecurityCC.d.ts +3 -2
- package/build/esm/cc/SecurityCC.d.ts.map +1 -1
- package/build/esm/cc/SecurityCC.js +16 -11
- package/build/esm/cc/SecurityCC.js.map +1 -1
- package/build/esm/cc/SoundSwitchCC.js +2 -2
- package/build/esm/cc/SoundSwitchCC.js.map +1 -1
- package/build/esm/cc/SupervisionCC.d.ts +2 -1
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
- package/build/esm/cc/SupervisionCC.js +13 -6
- package/build/esm/cc/SupervisionCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.js +1 -2
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatModeCC.js +1 -3
- package/build/esm/cc/ThermostatModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.js +1 -2
- package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.d.ts +4 -1
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.js +31 -19
- package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
- package/build/esm/cc/TimeCC.d.ts.map +1 -1
- package/build/esm/cc/TimeCC.js +6 -2
- package/build/esm/cc/TimeCC.js.map +1 -1
- package/build/esm/cc/TransportServiceCC.d.ts.map +1 -1
- package/build/esm/cc/TransportServiceCC.js +8 -8
- package/build/esm/cc/TransportServiceCC.js.map +1 -1
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
- package/build/esm/cc/UserCodeCC.js +23 -30
- package/build/esm/cc/UserCodeCC.js.map +1 -1
- package/build/esm/cc/UserCredentialCC.d.ts.map +1 -1
- package/build/esm/cc/UserCredentialCC.js +49 -60
- package/build/esm/cc/UserCredentialCC.js.map +1 -1
- package/build/esm/cc/VersionCC.js +3 -3
- package/build/esm/cc/VersionCC.js.map +1 -1
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
- package/build/esm/cc/WindowCoveringCC.js +10 -9
- package/build/esm/cc/WindowCoveringCC.js.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.js +5 -26
- package/build/esm/cc/ZWaveProtocolCC.js.map +1 -1
- package/build/esm/cc/_CCValues.generated.d.ts +4 -4
- package/build/esm/cc/_CCValues.generated.d.ts.map +1 -1
- package/build/esm/cc/_CCValues.generated.js +638 -679
- package/build/esm/cc/_CCValues.generated.js.map +1 -1
- package/build/esm/cc/index.d.ts +179 -179
- package/build/esm/cc/index.d.ts.map +1 -1
- package/build/esm/cc/index.js +124 -124
- package/build/esm/cc/index.js.map +1 -1
- package/build/esm/cc/manufacturerProprietary/Decorators.d.ts.map +1 -1
- package/build/esm/cc/manufacturerProprietary/Decorators.js.map +1 -1
- package/build/esm/lib/API.d.ts +3 -2
- package/build/esm/lib/API.d.ts.map +1 -1
- package/build/esm/lib/API.js +1 -1
- package/build/esm/lib/API.js.map +1 -1
- package/build/esm/lib/CommandClass.d.ts +23 -1
- package/build/esm/lib/CommandClass.d.ts.map +1 -1
- package/build/esm/lib/CommandClass.js +61 -20
- package/build/esm/lib/CommandClass.js.map +1 -1
- package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -1
- package/build/esm/lib/CommandClassDecorators.js +1 -2
- package/build/esm/lib/CommandClassDecorators.js.map +1 -1
- package/build/esm/lib/EncapsulatingCommandClass.d.ts.map +1 -1
- package/build/esm/lib/EncapsulatingCommandClass.js.map +1 -1
- package/build/esm/lib/NotificationEventPayload.d.ts.map +1 -1
- package/build/esm/lib/NotificationEventPayload.js.map +1 -1
- package/build/esm/lib/Security2/Extension.d.ts.map +1 -1
- package/build/esm/lib/Security2/Extension.js +2 -6
- package/build/esm/lib/Security2/Extension.js.map +1 -1
- package/build/esm/lib/Security2/shared.d.ts.map +1 -1
- package/build/esm/lib/Security2/shared.js.map +1 -1
- package/build/esm/lib/SetValueResult.d.ts.map +1 -1
- package/build/esm/lib/Values.d.ts +1 -1
- package/build/esm/lib/Values.d.ts.map +1 -1
- package/build/esm/lib/Values.js.map +1 -1
- package/build/esm/lib/_CCAPI.generated.d.ts.map +1 -1
- package/build/esm/lib/_Types.d.ts +34 -30
- package/build/esm/lib/_Types.d.ts.map +1 -1
- package/build/esm/lib/_Types.js +5 -0
- package/build/esm/lib/_Types.js.map +1 -1
- package/build/esm/lib/serializers.d.ts.map +1 -1
- package/build/esm/lib/serializers.js +1 -4
- package/build/esm/lib/serializers.js.map +1 -1
- package/build/esm/lib/traits.d.ts.map +1 -1
- package/build/esm/lib/utils.d.ts.map +1 -1
- package/build/esm/lib/utils.js +25 -31
- package/build/esm/lib/utils.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// This file is auto-generated. All manual changes will be lost!
|
|
2
|
-
import { CommandClasses,
|
|
2
|
+
import { CommandClasses, ValueMetadata, enumValuesToMetadataStates, MAX_NODES, ZWaveLibraryTypes, } from "@zwave-js/core";
|
|
3
3
|
import { getEnumMemberName, num2hex } from "@zwave-js/shared";
|
|
4
|
-
import { irrigationValveIdToMetadataPrefix, meterTypesToPropertyKey, multilevelSwitchTypeProperties,
|
|
5
|
-
import { AlarmSensorType, BarrierState, BatteryChargingStatus, BatteryReplacementStatus, BinarySensorType,
|
|
4
|
+
import { irrigationValveIdToMetadataPrefix, meterTypesToPropertyKey, multilevelSwitchTypeToActions, multilevelSwitchTypeProperties, windowCoveringParameterToMetadataStates, windowCoveringParameterToLevelChangeLabel, } from "../lib/CCValueUtils.js";
|
|
5
|
+
import { AlarmSensorType, BarrierState, SubsystemType, SubsystemState, BatteryChargingStatus, BatteryReplacementStatus, BinarySensorType, ScheduleOverrideType, Weekday, ColorComponent, DoorLockMode, DoorLockOperationType, EnergyProductionParameter, HumidityControlMode, HumidityControlOperatingState, HumidityControlSetpointType, IrrigationSensorPolarity, DeviceIdType, RateType, SwitchType, LocalProtectionState, RFProtectionState, ThermostatFanMode, ThermostatFanState, ThermostatMode, ThermostatOperatingState, ThermostatSetpointType, WindowCoveringParameter, } from "../lib/_Types.js";
|
|
6
6
|
export const AlarmSensorCCValues = Object.freeze({
|
|
7
7
|
state: Object.assign((sensorType) => {
|
|
8
8
|
const property = "state";
|
|
@@ -31,9 +31,9 @@ export const AlarmSensorCCValues = Object.freeze({
|
|
|
31
31
|
};
|
|
32
32
|
}, {
|
|
33
33
|
is: (valueId) => {
|
|
34
|
-
return valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
34
|
+
return (valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
35
35
|
&& (({ property, propertyKey }) => property === "state"
|
|
36
|
-
&& typeof propertyKey === "number")(valueId);
|
|
36
|
+
&& typeof propertyKey === "number")(valueId));
|
|
37
37
|
},
|
|
38
38
|
options: {
|
|
39
39
|
internal: false,
|
|
@@ -73,9 +73,9 @@ export const AlarmSensorCCValues = Object.freeze({
|
|
|
73
73
|
};
|
|
74
74
|
}, {
|
|
75
75
|
is: (valueId) => {
|
|
76
|
-
return valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
76
|
+
return (valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
77
77
|
&& (({ property, propertyKey }) => property === "severity"
|
|
78
|
-
&& typeof propertyKey === "number")(valueId);
|
|
78
|
+
&& typeof propertyKey === "number")(valueId));
|
|
79
79
|
},
|
|
80
80
|
options: {
|
|
81
81
|
internal: false,
|
|
@@ -114,9 +114,9 @@ export const AlarmSensorCCValues = Object.freeze({
|
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
is: (valueId) => {
|
|
117
|
-
return valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
117
|
+
return (valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
118
118
|
&& (({ property, propertyKey }) => property === "duration"
|
|
119
|
-
&& typeof propertyKey === "number")(valueId);
|
|
119
|
+
&& typeof propertyKey === "number")(valueId));
|
|
120
120
|
},
|
|
121
121
|
options: {
|
|
122
122
|
internal: false,
|
|
@@ -138,9 +138,9 @@ export const AlarmSensorCCValues = Object.freeze({
|
|
|
138
138
|
property: "supportedSensorTypes",
|
|
139
139
|
}),
|
|
140
140
|
is: (valueId) => {
|
|
141
|
-
return valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
141
|
+
return (valueId.commandClass === CommandClasses["Alarm Sensor"]
|
|
142
142
|
&& valueId.property === "supportedSensorTypes"
|
|
143
|
-
&& valueId.propertyKey == undefined;
|
|
143
|
+
&& valueId.propertyKey == undefined);
|
|
144
144
|
},
|
|
145
145
|
get meta() {
|
|
146
146
|
return ValueMetadata.Any;
|
|
@@ -167,9 +167,9 @@ export const AssociationCCValues = Object.freeze({
|
|
|
167
167
|
property: "hasLifeline",
|
|
168
168
|
}),
|
|
169
169
|
is: (valueId) => {
|
|
170
|
-
return valueId.commandClass === CommandClasses.Association
|
|
170
|
+
return (valueId.commandClass === CommandClasses.Association
|
|
171
171
|
&& valueId.property === "hasLifeline"
|
|
172
|
-
&& valueId.propertyKey == undefined;
|
|
172
|
+
&& valueId.propertyKey == undefined);
|
|
173
173
|
},
|
|
174
174
|
get meta() {
|
|
175
175
|
return ValueMetadata.Any;
|
|
@@ -194,9 +194,9 @@ export const AssociationCCValues = Object.freeze({
|
|
|
194
194
|
property: "groupCount",
|
|
195
195
|
}),
|
|
196
196
|
is: (valueId) => {
|
|
197
|
-
return valueId.commandClass === CommandClasses.Association
|
|
197
|
+
return (valueId.commandClass === CommandClasses.Association
|
|
198
198
|
&& valueId.property === "groupCount"
|
|
199
|
-
&& valueId.propertyKey == undefined;
|
|
199
|
+
&& valueId.propertyKey == undefined);
|
|
200
200
|
},
|
|
201
201
|
get meta() {
|
|
202
202
|
return ValueMetadata.Any;
|
|
@@ -231,9 +231,9 @@ export const AssociationCCValues = Object.freeze({
|
|
|
231
231
|
};
|
|
232
232
|
}, {
|
|
233
233
|
is: (valueId) => {
|
|
234
|
-
return valueId.commandClass === CommandClasses.Association
|
|
234
|
+
return (valueId.commandClass === CommandClasses.Association
|
|
235
235
|
&& (({ property, propertyKey }) => property === "maxNodes"
|
|
236
|
-
&& typeof propertyKey === "number")(valueId);
|
|
236
|
+
&& typeof propertyKey === "number")(valueId));
|
|
237
237
|
},
|
|
238
238
|
options: {
|
|
239
239
|
internal: true,
|
|
@@ -265,9 +265,9 @@ export const AssociationCCValues = Object.freeze({
|
|
|
265
265
|
};
|
|
266
266
|
}, {
|
|
267
267
|
is: (valueId) => {
|
|
268
|
-
return valueId.commandClass === CommandClasses.Association
|
|
268
|
+
return (valueId.commandClass === CommandClasses.Association
|
|
269
269
|
&& (({ property, propertyKey }) => property === "nodeIds"
|
|
270
|
-
&& typeof propertyKey === "number")(valueId);
|
|
270
|
+
&& typeof propertyKey === "number")(valueId));
|
|
271
271
|
},
|
|
272
272
|
options: {
|
|
273
273
|
internal: true,
|
|
@@ -291,10 +291,10 @@ export const AssociationGroupInfoCCValues = Object.freeze({
|
|
|
291
291
|
property: "hasDynamicInfo",
|
|
292
292
|
}),
|
|
293
293
|
is: (valueId) => {
|
|
294
|
-
return valueId.commandClass
|
|
294
|
+
return (valueId.commandClass
|
|
295
295
|
=== CommandClasses["Association Group Information"]
|
|
296
296
|
&& valueId.property === "hasDynamicInfo"
|
|
297
|
-
&& valueId.propertyKey == undefined;
|
|
297
|
+
&& valueId.propertyKey == undefined);
|
|
298
298
|
},
|
|
299
299
|
get meta() {
|
|
300
300
|
return ValueMetadata.Any;
|
|
@@ -329,9 +329,9 @@ export const AssociationGroupInfoCCValues = Object.freeze({
|
|
|
329
329
|
};
|
|
330
330
|
}, {
|
|
331
331
|
is: (valueId) => {
|
|
332
|
-
return valueId.commandClass
|
|
332
|
+
return (valueId.commandClass
|
|
333
333
|
=== CommandClasses["Association Group Information"]
|
|
334
|
-
&& (({ property, propertyKey }) => property === "name" && typeof propertyKey === "number")(valueId);
|
|
334
|
+
&& (({ property, propertyKey }) => property === "name" && typeof propertyKey === "number")(valueId));
|
|
335
335
|
},
|
|
336
336
|
options: {
|
|
337
337
|
internal: true,
|
|
@@ -363,9 +363,9 @@ export const AssociationGroupInfoCCValues = Object.freeze({
|
|
|
363
363
|
};
|
|
364
364
|
}, {
|
|
365
365
|
is: (valueId) => {
|
|
366
|
-
return valueId.commandClass
|
|
366
|
+
return (valueId.commandClass
|
|
367
367
|
=== CommandClasses["Association Group Information"]
|
|
368
|
-
&& (({ property, propertyKey }) => property === "info" && typeof propertyKey === "number")(valueId);
|
|
368
|
+
&& (({ property, propertyKey }) => property === "info" && typeof propertyKey === "number")(valueId));
|
|
369
369
|
},
|
|
370
370
|
options: {
|
|
371
371
|
internal: true,
|
|
@@ -397,10 +397,10 @@ export const AssociationGroupInfoCCValues = Object.freeze({
|
|
|
397
397
|
};
|
|
398
398
|
}, {
|
|
399
399
|
is: (valueId) => {
|
|
400
|
-
return valueId.commandClass
|
|
400
|
+
return (valueId.commandClass
|
|
401
401
|
=== CommandClasses["Association Group Information"]
|
|
402
402
|
&& (({ property, propertyKey }) => property === "issuedCommands"
|
|
403
|
-
&& typeof propertyKey === "number")(valueId);
|
|
403
|
+
&& typeof propertyKey === "number")(valueId));
|
|
404
404
|
},
|
|
405
405
|
options: {
|
|
406
406
|
internal: true,
|
|
@@ -424,9 +424,9 @@ export const BarrierOperatorCCValues = Object.freeze({
|
|
|
424
424
|
property: "supportedSubsystemTypes",
|
|
425
425
|
}),
|
|
426
426
|
is: (valueId) => {
|
|
427
|
-
return valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
427
|
+
return (valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
428
428
|
&& valueId.property === "supportedSubsystemTypes"
|
|
429
|
-
&& valueId.propertyKey == undefined;
|
|
429
|
+
&& valueId.propertyKey == undefined);
|
|
430
430
|
},
|
|
431
431
|
get meta() {
|
|
432
432
|
return ValueMetadata.Any;
|
|
@@ -451,9 +451,9 @@ export const BarrierOperatorCCValues = Object.freeze({
|
|
|
451
451
|
property: "position",
|
|
452
452
|
}),
|
|
453
453
|
is: (valueId) => {
|
|
454
|
-
return valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
454
|
+
return (valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
455
455
|
&& valueId.property === "position"
|
|
456
|
-
&& valueId.propertyKey == undefined;
|
|
456
|
+
&& valueId.propertyKey == undefined);
|
|
457
457
|
},
|
|
458
458
|
get meta() {
|
|
459
459
|
return {
|
|
@@ -483,9 +483,9 @@ export const BarrierOperatorCCValues = Object.freeze({
|
|
|
483
483
|
property: "targetState",
|
|
484
484
|
}),
|
|
485
485
|
is: (valueId) => {
|
|
486
|
-
return valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
486
|
+
return (valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
487
487
|
&& valueId.property === "targetState"
|
|
488
|
-
&& valueId.propertyKey == undefined;
|
|
488
|
+
&& valueId.propertyKey == undefined);
|
|
489
489
|
},
|
|
490
490
|
get meta() {
|
|
491
491
|
return {
|
|
@@ -517,9 +517,9 @@ export const BarrierOperatorCCValues = Object.freeze({
|
|
|
517
517
|
property: "currentState",
|
|
518
518
|
}),
|
|
519
519
|
is: (valueId) => {
|
|
520
|
-
return valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
520
|
+
return (valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
521
521
|
&& valueId.property === "currentState"
|
|
522
|
-
&& valueId.propertyKey == undefined;
|
|
522
|
+
&& valueId.propertyKey == undefined);
|
|
523
523
|
},
|
|
524
524
|
get meta() {
|
|
525
525
|
return {
|
|
@@ -562,10 +562,9 @@ export const BarrierOperatorCCValues = Object.freeze({
|
|
|
562
562
|
};
|
|
563
563
|
}, {
|
|
564
564
|
is: (valueId) => {
|
|
565
|
-
return valueId.commandClass
|
|
566
|
-
=== CommandClasses["Barrier Operator"]
|
|
565
|
+
return (valueId.commandClass === CommandClasses["Barrier Operator"]
|
|
567
566
|
&& (({ property, propertyKey }) => property === "signalingState"
|
|
568
|
-
&& typeof propertyKey === "number")(valueId);
|
|
567
|
+
&& typeof propertyKey === "number")(valueId));
|
|
569
568
|
},
|
|
570
569
|
options: {
|
|
571
570
|
internal: false,
|
|
@@ -589,9 +588,9 @@ export const BasicCCValues = Object.freeze({
|
|
|
589
588
|
property: "currentValue",
|
|
590
589
|
}),
|
|
591
590
|
is: (valueId) => {
|
|
592
|
-
return valueId.commandClass === CommandClasses.Basic
|
|
591
|
+
return (valueId.commandClass === CommandClasses.Basic
|
|
593
592
|
&& valueId.property === "currentValue"
|
|
594
|
-
&& valueId.propertyKey == undefined;
|
|
593
|
+
&& valueId.propertyKey == undefined);
|
|
595
594
|
},
|
|
596
595
|
get meta() {
|
|
597
596
|
return {
|
|
@@ -619,9 +618,9 @@ export const BasicCCValues = Object.freeze({
|
|
|
619
618
|
property: "targetValue",
|
|
620
619
|
}),
|
|
621
620
|
is: (valueId) => {
|
|
622
|
-
return valueId.commandClass === CommandClasses.Basic
|
|
621
|
+
return (valueId.commandClass === CommandClasses.Basic
|
|
623
622
|
&& valueId.property === "targetValue"
|
|
624
|
-
&& valueId.propertyKey == undefined;
|
|
623
|
+
&& valueId.propertyKey == undefined);
|
|
625
624
|
},
|
|
626
625
|
get meta() {
|
|
627
626
|
return {
|
|
@@ -649,9 +648,9 @@ export const BasicCCValues = Object.freeze({
|
|
|
649
648
|
property: "duration",
|
|
650
649
|
}),
|
|
651
650
|
is: (valueId) => {
|
|
652
|
-
return valueId.commandClass === CommandClasses.Basic
|
|
651
|
+
return (valueId.commandClass === CommandClasses.Basic
|
|
653
652
|
&& valueId.property === "duration"
|
|
654
|
-
&& valueId.propertyKey == undefined;
|
|
653
|
+
&& valueId.propertyKey == undefined);
|
|
655
654
|
},
|
|
656
655
|
get meta() {
|
|
657
656
|
return {
|
|
@@ -679,9 +678,9 @@ export const BasicCCValues = Object.freeze({
|
|
|
679
678
|
property: "restorePrevious",
|
|
680
679
|
}),
|
|
681
680
|
is: (valueId) => {
|
|
682
|
-
return valueId.commandClass === CommandClasses.Basic
|
|
681
|
+
return (valueId.commandClass === CommandClasses.Basic
|
|
683
682
|
&& valueId.property === "restorePrevious"
|
|
684
|
-
&& valueId.propertyKey == undefined;
|
|
683
|
+
&& valueId.propertyKey == undefined);
|
|
685
684
|
},
|
|
686
685
|
get meta() {
|
|
687
686
|
return {
|
|
@@ -712,9 +711,9 @@ export const BasicCCValues = Object.freeze({
|
|
|
712
711
|
property: "event",
|
|
713
712
|
}),
|
|
714
713
|
is: (valueId) => {
|
|
715
|
-
return valueId.commandClass === CommandClasses.Basic
|
|
714
|
+
return (valueId.commandClass === CommandClasses.Basic
|
|
716
715
|
&& valueId.property === "event"
|
|
717
|
-
&& valueId.propertyKey == undefined;
|
|
716
|
+
&& valueId.propertyKey == undefined);
|
|
718
717
|
},
|
|
719
718
|
get meta() {
|
|
720
719
|
return {
|
|
@@ -744,10 +743,9 @@ export const BasicWindowCoveringCCValues = Object.freeze({
|
|
|
744
743
|
property: "levelChangeUp",
|
|
745
744
|
}),
|
|
746
745
|
is: (valueId) => {
|
|
747
|
-
return valueId.commandClass
|
|
748
|
-
=== CommandClasses["Basic Window Covering"]
|
|
746
|
+
return (valueId.commandClass === CommandClasses["Basic Window Covering"]
|
|
749
747
|
&& valueId.property === "levelChangeUp"
|
|
750
|
-
&& valueId.propertyKey == undefined;
|
|
748
|
+
&& valueId.propertyKey == undefined);
|
|
751
749
|
},
|
|
752
750
|
get meta() {
|
|
753
751
|
return {
|
|
@@ -779,10 +777,9 @@ export const BasicWindowCoveringCCValues = Object.freeze({
|
|
|
779
777
|
property: "levelChangeDown",
|
|
780
778
|
}),
|
|
781
779
|
is: (valueId) => {
|
|
782
|
-
return valueId.commandClass
|
|
783
|
-
=== CommandClasses["Basic Window Covering"]
|
|
780
|
+
return (valueId.commandClass === CommandClasses["Basic Window Covering"]
|
|
784
781
|
&& valueId.property === "levelChangeDown"
|
|
785
|
-
&& valueId.propertyKey == undefined;
|
|
782
|
+
&& valueId.propertyKey == undefined);
|
|
786
783
|
},
|
|
787
784
|
get meta() {
|
|
788
785
|
return {
|
|
@@ -816,9 +813,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
816
813
|
property: "level",
|
|
817
814
|
}),
|
|
818
815
|
is: (valueId) => {
|
|
819
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
816
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
820
817
|
&& valueId.property === "level"
|
|
821
|
-
&& valueId.propertyKey == undefined;
|
|
818
|
+
&& valueId.propertyKey == undefined);
|
|
822
819
|
},
|
|
823
820
|
get meta() {
|
|
824
821
|
return {
|
|
@@ -848,9 +845,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
848
845
|
property: "maximumCapacity",
|
|
849
846
|
}),
|
|
850
847
|
is: (valueId) => {
|
|
851
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
848
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
852
849
|
&& valueId.property === "maximumCapacity"
|
|
853
|
-
&& valueId.propertyKey == undefined;
|
|
850
|
+
&& valueId.propertyKey == undefined);
|
|
854
851
|
},
|
|
855
852
|
get meta() {
|
|
856
853
|
return {
|
|
@@ -880,9 +877,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
880
877
|
property: "temperature",
|
|
881
878
|
}),
|
|
882
879
|
is: (valueId) => {
|
|
883
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
880
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
884
881
|
&& valueId.property === "temperature"
|
|
885
|
-
&& valueId.propertyKey == undefined;
|
|
882
|
+
&& valueId.propertyKey == undefined);
|
|
886
883
|
},
|
|
887
884
|
get meta() {
|
|
888
885
|
return {
|
|
@@ -913,9 +910,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
913
910
|
property: "chargingStatus",
|
|
914
911
|
}),
|
|
915
912
|
is: (valueId) => {
|
|
916
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
913
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
917
914
|
&& valueId.property === "chargingStatus"
|
|
918
|
-
&& valueId.propertyKey == undefined;
|
|
915
|
+
&& valueId.propertyKey == undefined);
|
|
919
916
|
},
|
|
920
917
|
get meta() {
|
|
921
918
|
return {
|
|
@@ -944,9 +941,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
944
941
|
property: "rechargeable",
|
|
945
942
|
}),
|
|
946
943
|
is: (valueId) => {
|
|
947
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
944
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
948
945
|
&& valueId.property === "rechargeable"
|
|
949
|
-
&& valueId.propertyKey == undefined;
|
|
946
|
+
&& valueId.propertyKey == undefined);
|
|
950
947
|
},
|
|
951
948
|
get meta() {
|
|
952
949
|
return {
|
|
@@ -974,9 +971,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
974
971
|
property: "backup",
|
|
975
972
|
}),
|
|
976
973
|
is: (valueId) => {
|
|
977
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
974
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
978
975
|
&& valueId.property === "backup"
|
|
979
|
-
&& valueId.propertyKey == undefined;
|
|
976
|
+
&& valueId.propertyKey == undefined);
|
|
980
977
|
},
|
|
981
978
|
get meta() {
|
|
982
979
|
return {
|
|
@@ -1004,9 +1001,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
1004
1001
|
property: "overheating",
|
|
1005
1002
|
}),
|
|
1006
1003
|
is: (valueId) => {
|
|
1007
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
1004
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
1008
1005
|
&& valueId.property === "overheating"
|
|
1009
|
-
&& valueId.propertyKey == undefined;
|
|
1006
|
+
&& valueId.propertyKey == undefined);
|
|
1010
1007
|
},
|
|
1011
1008
|
get meta() {
|
|
1012
1009
|
return {
|
|
@@ -1034,9 +1031,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
1034
1031
|
property: "lowFluid",
|
|
1035
1032
|
}),
|
|
1036
1033
|
is: (valueId) => {
|
|
1037
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
1034
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
1038
1035
|
&& valueId.property === "lowFluid"
|
|
1039
|
-
&& valueId.propertyKey == undefined;
|
|
1036
|
+
&& valueId.propertyKey == undefined);
|
|
1040
1037
|
},
|
|
1041
1038
|
get meta() {
|
|
1042
1039
|
return {
|
|
@@ -1064,9 +1061,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
1064
1061
|
property: "rechargeOrReplace",
|
|
1065
1062
|
}),
|
|
1066
1063
|
is: (valueId) => {
|
|
1067
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
1064
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
1068
1065
|
&& valueId.property === "rechargeOrReplace"
|
|
1069
|
-
&& valueId.propertyKey == undefined;
|
|
1066
|
+
&& valueId.propertyKey == undefined);
|
|
1070
1067
|
},
|
|
1071
1068
|
get meta() {
|
|
1072
1069
|
return {
|
|
@@ -1095,9 +1092,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
1095
1092
|
property: "disconnected",
|
|
1096
1093
|
}),
|
|
1097
1094
|
is: (valueId) => {
|
|
1098
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
1095
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
1099
1096
|
&& valueId.property === "disconnected"
|
|
1100
|
-
&& valueId.propertyKey == undefined;
|
|
1097
|
+
&& valueId.propertyKey == undefined);
|
|
1101
1098
|
},
|
|
1102
1099
|
get meta() {
|
|
1103
1100
|
return {
|
|
@@ -1125,9 +1122,9 @@ export const BatteryCCValues = Object.freeze({
|
|
|
1125
1122
|
property: "lowTemperatureStatus",
|
|
1126
1123
|
}),
|
|
1127
1124
|
is: (valueId) => {
|
|
1128
|
-
return valueId.commandClass === CommandClasses.Battery
|
|
1125
|
+
return (valueId.commandClass === CommandClasses.Battery
|
|
1129
1126
|
&& valueId.property === "lowTemperatureStatus"
|
|
1130
|
-
&& valueId.propertyKey == undefined;
|
|
1127
|
+
&& valueId.propertyKey == undefined);
|
|
1131
1128
|
},
|
|
1132
1129
|
get meta() {
|
|
1133
1130
|
return {
|
|
@@ -1157,9 +1154,9 @@ export const BinarySensorCCValues = Object.freeze({
|
|
|
1157
1154
|
property: "supportedSensorTypes",
|
|
1158
1155
|
}),
|
|
1159
1156
|
is: (valueId) => {
|
|
1160
|
-
return valueId.commandClass === CommandClasses["Binary Sensor"]
|
|
1157
|
+
return (valueId.commandClass === CommandClasses["Binary Sensor"]
|
|
1161
1158
|
&& valueId.property === "supportedSensorTypes"
|
|
1162
|
-
&& valueId.propertyKey == undefined;
|
|
1159
|
+
&& valueId.propertyKey == undefined);
|
|
1163
1160
|
},
|
|
1164
1161
|
get meta() {
|
|
1165
1162
|
return ValueMetadata.Any;
|
|
@@ -1195,9 +1192,9 @@ export const BinarySensorCCValues = Object.freeze({
|
|
|
1195
1192
|
};
|
|
1196
1193
|
}, {
|
|
1197
1194
|
is: (valueId) => {
|
|
1198
|
-
return valueId.commandClass === CommandClasses["Binary Sensor"]
|
|
1195
|
+
return (valueId.commandClass === CommandClasses["Binary Sensor"]
|
|
1199
1196
|
&& (({ property }) => typeof property === "string"
|
|
1200
|
-
&& property in BinarySensorType)(valueId);
|
|
1197
|
+
&& property in BinarySensorType)(valueId));
|
|
1201
1198
|
},
|
|
1202
1199
|
options: {
|
|
1203
1200
|
internal: false,
|
|
@@ -1221,9 +1218,9 @@ export const BinarySwitchCCValues = Object.freeze({
|
|
|
1221
1218
|
property: "currentValue",
|
|
1222
1219
|
}),
|
|
1223
1220
|
is: (valueId) => {
|
|
1224
|
-
return valueId.commandClass === CommandClasses["Binary Switch"]
|
|
1221
|
+
return (valueId.commandClass === CommandClasses["Binary Switch"]
|
|
1225
1222
|
&& valueId.property === "currentValue"
|
|
1226
|
-
&& valueId.propertyKey == undefined;
|
|
1223
|
+
&& valueId.propertyKey == undefined);
|
|
1227
1224
|
},
|
|
1228
1225
|
get meta() {
|
|
1229
1226
|
return {
|
|
@@ -1251,9 +1248,9 @@ export const BinarySwitchCCValues = Object.freeze({
|
|
|
1251
1248
|
property: "targetValue",
|
|
1252
1249
|
}),
|
|
1253
1250
|
is: (valueId) => {
|
|
1254
|
-
return valueId.commandClass === CommandClasses["Binary Switch"]
|
|
1251
|
+
return (valueId.commandClass === CommandClasses["Binary Switch"]
|
|
1255
1252
|
&& valueId.property === "targetValue"
|
|
1256
|
-
&& valueId.propertyKey == undefined;
|
|
1253
|
+
&& valueId.propertyKey == undefined);
|
|
1257
1254
|
},
|
|
1258
1255
|
get meta() {
|
|
1259
1256
|
return {
|
|
@@ -1282,9 +1279,9 @@ export const BinarySwitchCCValues = Object.freeze({
|
|
|
1282
1279
|
property: "duration",
|
|
1283
1280
|
}),
|
|
1284
1281
|
is: (valueId) => {
|
|
1285
|
-
return valueId.commandClass === CommandClasses["Binary Switch"]
|
|
1282
|
+
return (valueId.commandClass === CommandClasses["Binary Switch"]
|
|
1286
1283
|
&& valueId.property === "duration"
|
|
1287
|
-
&& valueId.propertyKey == undefined;
|
|
1284
|
+
&& valueId.propertyKey == undefined);
|
|
1288
1285
|
},
|
|
1289
1286
|
get meta() {
|
|
1290
1287
|
return {
|
|
@@ -1314,9 +1311,9 @@ export const CentralSceneCCValues = Object.freeze({
|
|
|
1314
1311
|
property: "sceneCount",
|
|
1315
1312
|
}),
|
|
1316
1313
|
is: (valueId) => {
|
|
1317
|
-
return valueId.commandClass === CommandClasses["Central Scene"]
|
|
1314
|
+
return (valueId.commandClass === CommandClasses["Central Scene"]
|
|
1318
1315
|
&& valueId.property === "sceneCount"
|
|
1319
|
-
&& valueId.propertyKey == undefined;
|
|
1316
|
+
&& valueId.propertyKey == undefined);
|
|
1320
1317
|
},
|
|
1321
1318
|
get meta() {
|
|
1322
1319
|
return ValueMetadata.Any;
|
|
@@ -1341,9 +1338,9 @@ export const CentralSceneCCValues = Object.freeze({
|
|
|
1341
1338
|
property: "supportsSlowRefresh",
|
|
1342
1339
|
}),
|
|
1343
1340
|
is: (valueId) => {
|
|
1344
|
-
return valueId.commandClass === CommandClasses["Central Scene"]
|
|
1341
|
+
return (valueId.commandClass === CommandClasses["Central Scene"]
|
|
1345
1342
|
&& valueId.property === "supportsSlowRefresh"
|
|
1346
|
-
&& valueId.propertyKey == undefined;
|
|
1343
|
+
&& valueId.propertyKey == undefined);
|
|
1347
1344
|
},
|
|
1348
1345
|
get meta() {
|
|
1349
1346
|
return ValueMetadata.Any;
|
|
@@ -1368,9 +1365,9 @@ export const CentralSceneCCValues = Object.freeze({
|
|
|
1368
1365
|
property: "supportedKeyAttributes",
|
|
1369
1366
|
}),
|
|
1370
1367
|
is: (valueId) => {
|
|
1371
|
-
return valueId.commandClass === CommandClasses["Central Scene"]
|
|
1368
|
+
return (valueId.commandClass === CommandClasses["Central Scene"]
|
|
1372
1369
|
&& valueId.property === "supportedKeyAttributes"
|
|
1373
|
-
&& valueId.propertyKey == undefined;
|
|
1370
|
+
&& valueId.propertyKey == undefined);
|
|
1374
1371
|
},
|
|
1375
1372
|
get meta() {
|
|
1376
1373
|
return ValueMetadata.Any;
|
|
@@ -1395,9 +1392,9 @@ export const CentralSceneCCValues = Object.freeze({
|
|
|
1395
1392
|
property: "slowRefresh",
|
|
1396
1393
|
}),
|
|
1397
1394
|
is: (valueId) => {
|
|
1398
|
-
return valueId.commandClass === CommandClasses["Central Scene"]
|
|
1395
|
+
return (valueId.commandClass === CommandClasses["Central Scene"]
|
|
1399
1396
|
&& valueId.property === "slowRefresh"
|
|
1400
|
-
&& valueId.propertyKey == undefined;
|
|
1397
|
+
&& valueId.propertyKey == undefined);
|
|
1401
1398
|
},
|
|
1402
1399
|
get meta() {
|
|
1403
1400
|
return {
|
|
@@ -1439,10 +1436,10 @@ export const CentralSceneCCValues = Object.freeze({
|
|
|
1439
1436
|
};
|
|
1440
1437
|
}, {
|
|
1441
1438
|
is: (valueId) => {
|
|
1442
|
-
return valueId.commandClass === CommandClasses["Central Scene"]
|
|
1439
|
+
return (valueId.commandClass === CommandClasses["Central Scene"]
|
|
1443
1440
|
&& (({ property, propertyKey }) => property === "scene"
|
|
1444
1441
|
&& typeof propertyKey === "string"
|
|
1445
|
-
&& /^\d{3}$/.test(propertyKey))(valueId);
|
|
1442
|
+
&& /^\d{3}$/.test(propertyKey))(valueId));
|
|
1446
1443
|
},
|
|
1447
1444
|
options: {
|
|
1448
1445
|
internal: false,
|
|
@@ -1466,10 +1463,10 @@ export const ClimateControlScheduleCCValues = Object.freeze({
|
|
|
1466
1463
|
property: "overrideType",
|
|
1467
1464
|
}),
|
|
1468
1465
|
is: (valueId) => {
|
|
1469
|
-
return valueId.commandClass
|
|
1466
|
+
return (valueId.commandClass
|
|
1470
1467
|
=== CommandClasses["Climate Control Schedule"]
|
|
1471
1468
|
&& valueId.property === "overrideType"
|
|
1472
|
-
&& valueId.propertyKey == undefined;
|
|
1469
|
+
&& valueId.propertyKey == undefined);
|
|
1473
1470
|
},
|
|
1474
1471
|
get meta() {
|
|
1475
1472
|
return {
|
|
@@ -1498,10 +1495,10 @@ export const ClimateControlScheduleCCValues = Object.freeze({
|
|
|
1498
1495
|
property: "overrideState",
|
|
1499
1496
|
}),
|
|
1500
1497
|
is: (valueId) => {
|
|
1501
|
-
return valueId.commandClass
|
|
1498
|
+
return (valueId.commandClass
|
|
1502
1499
|
=== CommandClasses["Climate Control Schedule"]
|
|
1503
1500
|
&& valueId.property === "overrideState"
|
|
1504
|
-
&& valueId.propertyKey == undefined;
|
|
1501
|
+
&& valueId.propertyKey == undefined);
|
|
1505
1502
|
},
|
|
1506
1503
|
get meta() {
|
|
1507
1504
|
return {
|
|
@@ -1543,12 +1540,12 @@ export const ClimateControlScheduleCCValues = Object.freeze({
|
|
|
1543
1540
|
};
|
|
1544
1541
|
}, {
|
|
1545
1542
|
is: (valueId) => {
|
|
1546
|
-
return valueId.commandClass
|
|
1543
|
+
return (valueId.commandClass
|
|
1547
1544
|
=== CommandClasses["Climate Control Schedule"]
|
|
1548
1545
|
&& (({ property, propertyKey }) => property === "switchPoints"
|
|
1549
1546
|
&& typeof propertyKey === "number"
|
|
1550
1547
|
&& propertyKey >= Weekday.Monday
|
|
1551
|
-
&& propertyKey <= Weekday.Sunday)(valueId);
|
|
1548
|
+
&& propertyKey <= Weekday.Sunday)(valueId));
|
|
1552
1549
|
},
|
|
1553
1550
|
options: {
|
|
1554
1551
|
internal: false,
|
|
@@ -1572,9 +1569,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1572
1569
|
property: "supportedColorComponents",
|
|
1573
1570
|
}),
|
|
1574
1571
|
is: (valueId) => {
|
|
1575
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1572
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1576
1573
|
&& valueId.property === "supportedColorComponents"
|
|
1577
|
-
&& valueId.propertyKey == undefined;
|
|
1574
|
+
&& valueId.propertyKey == undefined);
|
|
1578
1575
|
},
|
|
1579
1576
|
get meta() {
|
|
1580
1577
|
return ValueMetadata.Any;
|
|
@@ -1599,9 +1596,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1599
1596
|
property: "supportsHexColor",
|
|
1600
1597
|
}),
|
|
1601
1598
|
is: (valueId) => {
|
|
1602
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1599
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1603
1600
|
&& valueId.property === "supportsHexColor"
|
|
1604
|
-
&& valueId.propertyKey == undefined;
|
|
1601
|
+
&& valueId.propertyKey == undefined);
|
|
1605
1602
|
},
|
|
1606
1603
|
get meta() {
|
|
1607
1604
|
return ValueMetadata.Any;
|
|
@@ -1626,9 +1623,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1626
1623
|
property: "currentColor",
|
|
1627
1624
|
}),
|
|
1628
1625
|
is: (valueId) => {
|
|
1629
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1626
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1630
1627
|
&& valueId.property === "currentColor"
|
|
1631
|
-
&& valueId.propertyKey == undefined;
|
|
1628
|
+
&& valueId.propertyKey == undefined);
|
|
1632
1629
|
},
|
|
1633
1630
|
get meta() {
|
|
1634
1631
|
return {
|
|
@@ -1656,9 +1653,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1656
1653
|
property: "targetColor",
|
|
1657
1654
|
}),
|
|
1658
1655
|
is: (valueId) => {
|
|
1659
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1656
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1660
1657
|
&& valueId.property === "targetColor"
|
|
1661
|
-
&& valueId.propertyKey == undefined;
|
|
1658
|
+
&& valueId.propertyKey == undefined);
|
|
1662
1659
|
},
|
|
1663
1660
|
get meta() {
|
|
1664
1661
|
return {
|
|
@@ -1687,9 +1684,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1687
1684
|
property: "duration",
|
|
1688
1685
|
}),
|
|
1689
1686
|
is: (valueId) => {
|
|
1690
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1687
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1691
1688
|
&& valueId.property === "duration"
|
|
1692
|
-
&& valueId.propertyKey == undefined;
|
|
1689
|
+
&& valueId.propertyKey == undefined);
|
|
1693
1690
|
},
|
|
1694
1691
|
get meta() {
|
|
1695
1692
|
return {
|
|
@@ -1717,9 +1714,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1717
1714
|
property: "hexColor",
|
|
1718
1715
|
}),
|
|
1719
1716
|
is: (valueId) => {
|
|
1720
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1717
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1721
1718
|
&& valueId.property === "hexColor"
|
|
1722
|
-
&& valueId.propertyKey == undefined;
|
|
1719
|
+
&& valueId.propertyKey == undefined);
|
|
1723
1720
|
},
|
|
1724
1721
|
get meta() {
|
|
1725
1722
|
return {
|
|
@@ -1765,9 +1762,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1765
1762
|
};
|
|
1766
1763
|
}, {
|
|
1767
1764
|
is: (valueId) => {
|
|
1768
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1765
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1769
1766
|
&& (({ property, propertyKey }) => property === "currentColor"
|
|
1770
|
-
&& typeof propertyKey === "number")(valueId);
|
|
1767
|
+
&& typeof propertyKey === "number")(valueId));
|
|
1771
1768
|
},
|
|
1772
1769
|
options: {
|
|
1773
1770
|
internal: false,
|
|
@@ -1805,9 +1802,9 @@ export const ColorSwitchCCValues = Object.freeze({
|
|
|
1805
1802
|
};
|
|
1806
1803
|
}, {
|
|
1807
1804
|
is: (valueId) => {
|
|
1808
|
-
return valueId.commandClass === CommandClasses["Color Switch"]
|
|
1805
|
+
return (valueId.commandClass === CommandClasses["Color Switch"]
|
|
1809
1806
|
&& (({ property, propertyKey }) => property === "targetColor"
|
|
1810
|
-
&& typeof propertyKey === "number")(valueId);
|
|
1807
|
+
&& typeof propertyKey === "number")(valueId));
|
|
1811
1808
|
},
|
|
1812
1809
|
options: {
|
|
1813
1810
|
internal: false,
|
|
@@ -1831,9 +1828,9 @@ export const ConfigurationCCValues = Object.freeze({
|
|
|
1831
1828
|
property: "isParamInformationFromConfig",
|
|
1832
1829
|
}),
|
|
1833
1830
|
is: (valueId) => {
|
|
1834
|
-
return valueId.commandClass === CommandClasses.Configuration
|
|
1831
|
+
return (valueId.commandClass === CommandClasses.Configuration
|
|
1835
1832
|
&& valueId.property === "isParamInformationFromConfig"
|
|
1836
|
-
&& valueId.propertyKey == undefined;
|
|
1833
|
+
&& valueId.propertyKey == undefined);
|
|
1837
1834
|
},
|
|
1838
1835
|
get meta() {
|
|
1839
1836
|
return ValueMetadata.Any;
|
|
@@ -1868,10 +1865,10 @@ export const ConfigurationCCValues = Object.freeze({
|
|
|
1868
1865
|
};
|
|
1869
1866
|
}, {
|
|
1870
1867
|
is: (valueId) => {
|
|
1871
|
-
return valueId.commandClass === CommandClasses.Configuration
|
|
1868
|
+
return (valueId.commandClass === CommandClasses.Configuration
|
|
1872
1869
|
&& (({ property, propertyKey }) => typeof property === "number"
|
|
1873
1870
|
&& (typeof propertyKey === "number"
|
|
1874
|
-
|| propertyKey == undefined))(valueId);
|
|
1871
|
+
|| propertyKey == undefined))(valueId));
|
|
1875
1872
|
},
|
|
1876
1873
|
options: {
|
|
1877
1874
|
internal: false,
|
|
@@ -1895,9 +1892,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
1895
1892
|
property: "targetMode",
|
|
1896
1893
|
}),
|
|
1897
1894
|
is: (valueId) => {
|
|
1898
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
1895
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
1899
1896
|
&& valueId.property === "targetMode"
|
|
1900
|
-
&& valueId.propertyKey == undefined;
|
|
1897
|
+
&& valueId.propertyKey == undefined);
|
|
1901
1898
|
},
|
|
1902
1899
|
get meta() {
|
|
1903
1900
|
return {
|
|
@@ -1926,9 +1923,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
1926
1923
|
property: "currentMode",
|
|
1927
1924
|
}),
|
|
1928
1925
|
is: (valueId) => {
|
|
1929
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
1926
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
1930
1927
|
&& valueId.property === "currentMode"
|
|
1931
|
-
&& valueId.propertyKey == undefined;
|
|
1928
|
+
&& valueId.propertyKey == undefined);
|
|
1932
1929
|
},
|
|
1933
1930
|
get meta() {
|
|
1934
1931
|
return {
|
|
@@ -1957,9 +1954,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
1957
1954
|
property: "duration",
|
|
1958
1955
|
}),
|
|
1959
1956
|
is: (valueId) => {
|
|
1960
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
1957
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
1961
1958
|
&& valueId.property === "duration"
|
|
1962
|
-
&& valueId.propertyKey == undefined;
|
|
1959
|
+
&& valueId.propertyKey == undefined);
|
|
1963
1960
|
},
|
|
1964
1961
|
get meta() {
|
|
1965
1962
|
return {
|
|
@@ -1987,9 +1984,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
1987
1984
|
property: "supportedOutsideHandles",
|
|
1988
1985
|
}),
|
|
1989
1986
|
is: (valueId) => {
|
|
1990
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
1987
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
1991
1988
|
&& valueId.property === "supportedOutsideHandles"
|
|
1992
|
-
&& valueId.propertyKey == undefined;
|
|
1989
|
+
&& valueId.propertyKey == undefined);
|
|
1993
1990
|
},
|
|
1994
1991
|
get meta() {
|
|
1995
1992
|
return ValueMetadata.Any;
|
|
@@ -2014,9 +2011,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2014
2011
|
property: "outsideHandlesCanOpenDoorConfiguration",
|
|
2015
2012
|
}),
|
|
2016
2013
|
is: (valueId) => {
|
|
2017
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2014
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2018
2015
|
&& valueId.property === "outsideHandlesCanOpenDoorConfiguration"
|
|
2019
|
-
&& valueId.propertyKey == undefined;
|
|
2016
|
+
&& valueId.propertyKey == undefined);
|
|
2020
2017
|
},
|
|
2021
2018
|
get meta() {
|
|
2022
2019
|
return {
|
|
@@ -2044,9 +2041,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2044
2041
|
property: "outsideHandlesCanOpenDoor",
|
|
2045
2042
|
}),
|
|
2046
2043
|
is: (valueId) => {
|
|
2047
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2044
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2048
2045
|
&& valueId.property === "outsideHandlesCanOpenDoor"
|
|
2049
|
-
&& valueId.propertyKey == undefined;
|
|
2046
|
+
&& valueId.propertyKey == undefined);
|
|
2050
2047
|
},
|
|
2051
2048
|
get meta() {
|
|
2052
2049
|
return {
|
|
@@ -2074,9 +2071,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2074
2071
|
property: "supportedInsideHandles",
|
|
2075
2072
|
}),
|
|
2076
2073
|
is: (valueId) => {
|
|
2077
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2074
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2078
2075
|
&& valueId.property === "supportedInsideHandles"
|
|
2079
|
-
&& valueId.propertyKey == undefined;
|
|
2076
|
+
&& valueId.propertyKey == undefined);
|
|
2080
2077
|
},
|
|
2081
2078
|
get meta() {
|
|
2082
2079
|
return ValueMetadata.Any;
|
|
@@ -2101,9 +2098,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2101
2098
|
property: "insideHandlesCanOpenDoorConfiguration",
|
|
2102
2099
|
}),
|
|
2103
2100
|
is: (valueId) => {
|
|
2104
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2101
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2105
2102
|
&& valueId.property === "insideHandlesCanOpenDoorConfiguration"
|
|
2106
|
-
&& valueId.propertyKey == undefined;
|
|
2103
|
+
&& valueId.propertyKey == undefined);
|
|
2107
2104
|
},
|
|
2108
2105
|
get meta() {
|
|
2109
2106
|
return {
|
|
@@ -2131,9 +2128,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2131
2128
|
property: "insideHandlesCanOpenDoor",
|
|
2132
2129
|
}),
|
|
2133
2130
|
is: (valueId) => {
|
|
2134
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2131
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2135
2132
|
&& valueId.property === "insideHandlesCanOpenDoor"
|
|
2136
|
-
&& valueId.propertyKey == undefined;
|
|
2133
|
+
&& valueId.propertyKey == undefined);
|
|
2137
2134
|
},
|
|
2138
2135
|
get meta() {
|
|
2139
2136
|
return {
|
|
@@ -2161,9 +2158,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2161
2158
|
property: "operationType",
|
|
2162
2159
|
}),
|
|
2163
2160
|
is: (valueId) => {
|
|
2164
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2161
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2165
2162
|
&& valueId.property === "operationType"
|
|
2166
|
-
&& valueId.propertyKey == undefined;
|
|
2163
|
+
&& valueId.propertyKey == undefined);
|
|
2167
2164
|
},
|
|
2168
2165
|
get meta() {
|
|
2169
2166
|
return {
|
|
@@ -2192,9 +2189,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2192
2189
|
property: "lockTimeoutConfiguration",
|
|
2193
2190
|
}),
|
|
2194
2191
|
is: (valueId) => {
|
|
2195
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2192
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2196
2193
|
&& valueId.property === "lockTimeoutConfiguration"
|
|
2197
|
-
&& valueId.propertyKey == undefined;
|
|
2194
|
+
&& valueId.propertyKey == undefined);
|
|
2198
2195
|
},
|
|
2199
2196
|
get meta() {
|
|
2200
2197
|
return {
|
|
@@ -2222,9 +2219,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2222
2219
|
property: "lockTimeout",
|
|
2223
2220
|
}),
|
|
2224
2221
|
is: (valueId) => {
|
|
2225
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2222
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2226
2223
|
&& valueId.property === "lockTimeout"
|
|
2227
|
-
&& valueId.propertyKey == undefined;
|
|
2224
|
+
&& valueId.propertyKey == undefined);
|
|
2228
2225
|
},
|
|
2229
2226
|
get meta() {
|
|
2230
2227
|
return {
|
|
@@ -2252,9 +2249,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2252
2249
|
property: "autoRelockSupported",
|
|
2253
2250
|
}),
|
|
2254
2251
|
is: (valueId) => {
|
|
2255
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2252
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2256
2253
|
&& valueId.property === "autoRelockSupported"
|
|
2257
|
-
&& valueId.propertyKey == undefined;
|
|
2254
|
+
&& valueId.propertyKey == undefined);
|
|
2258
2255
|
},
|
|
2259
2256
|
get meta() {
|
|
2260
2257
|
return ValueMetadata.Any;
|
|
@@ -2279,9 +2276,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2279
2276
|
property: "autoRelockTime",
|
|
2280
2277
|
}),
|
|
2281
2278
|
is: (valueId) => {
|
|
2282
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2279
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2283
2280
|
&& valueId.property === "autoRelockTime"
|
|
2284
|
-
&& valueId.propertyKey == undefined;
|
|
2281
|
+
&& valueId.propertyKey == undefined);
|
|
2285
2282
|
},
|
|
2286
2283
|
get meta() {
|
|
2287
2284
|
return {
|
|
@@ -2309,9 +2306,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2309
2306
|
property: "holdAndReleaseSupported",
|
|
2310
2307
|
}),
|
|
2311
2308
|
is: (valueId) => {
|
|
2312
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2309
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2313
2310
|
&& valueId.property === "holdAndReleaseSupported"
|
|
2314
|
-
&& valueId.propertyKey == undefined;
|
|
2311
|
+
&& valueId.propertyKey == undefined);
|
|
2315
2312
|
},
|
|
2316
2313
|
get meta() {
|
|
2317
2314
|
return ValueMetadata.Any;
|
|
@@ -2336,9 +2333,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2336
2333
|
property: "holdAndReleaseTime",
|
|
2337
2334
|
}),
|
|
2338
2335
|
is: (valueId) => {
|
|
2339
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2336
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2340
2337
|
&& valueId.property === "holdAndReleaseTime"
|
|
2341
|
-
&& valueId.propertyKey == undefined;
|
|
2338
|
+
&& valueId.propertyKey == undefined);
|
|
2342
2339
|
},
|
|
2343
2340
|
get meta() {
|
|
2344
2341
|
return {
|
|
@@ -2366,9 +2363,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2366
2363
|
property: "twistAssistSupported",
|
|
2367
2364
|
}),
|
|
2368
2365
|
is: (valueId) => {
|
|
2369
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2366
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2370
2367
|
&& valueId.property === "twistAssistSupported"
|
|
2371
|
-
&& valueId.propertyKey == undefined;
|
|
2368
|
+
&& valueId.propertyKey == undefined);
|
|
2372
2369
|
},
|
|
2373
2370
|
get meta() {
|
|
2374
2371
|
return ValueMetadata.Any;
|
|
@@ -2393,9 +2390,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2393
2390
|
property: "twistAssist",
|
|
2394
2391
|
}),
|
|
2395
2392
|
is: (valueId) => {
|
|
2396
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2393
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2397
2394
|
&& valueId.property === "twistAssist"
|
|
2398
|
-
&& valueId.propertyKey == undefined;
|
|
2395
|
+
&& valueId.propertyKey == undefined);
|
|
2399
2396
|
},
|
|
2400
2397
|
get meta() {
|
|
2401
2398
|
return {
|
|
@@ -2423,9 +2420,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2423
2420
|
property: "blockToBlockSupported",
|
|
2424
2421
|
}),
|
|
2425
2422
|
is: (valueId) => {
|
|
2426
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2423
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2427
2424
|
&& valueId.property === "blockToBlockSupported"
|
|
2428
|
-
&& valueId.propertyKey == undefined;
|
|
2425
|
+
&& valueId.propertyKey == undefined);
|
|
2429
2426
|
},
|
|
2430
2427
|
get meta() {
|
|
2431
2428
|
return ValueMetadata.Any;
|
|
@@ -2450,9 +2447,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2450
2447
|
property: "blockToBlock",
|
|
2451
2448
|
}),
|
|
2452
2449
|
is: (valueId) => {
|
|
2453
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2450
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2454
2451
|
&& valueId.property === "blockToBlock"
|
|
2455
|
-
&& valueId.propertyKey == undefined;
|
|
2452
|
+
&& valueId.propertyKey == undefined);
|
|
2456
2453
|
},
|
|
2457
2454
|
get meta() {
|
|
2458
2455
|
return {
|
|
@@ -2480,9 +2477,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2480
2477
|
property: "latchSupported",
|
|
2481
2478
|
}),
|
|
2482
2479
|
is: (valueId) => {
|
|
2483
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2480
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2484
2481
|
&& valueId.property === "latchSupported"
|
|
2485
|
-
&& valueId.propertyKey == undefined;
|
|
2482
|
+
&& valueId.propertyKey == undefined);
|
|
2486
2483
|
},
|
|
2487
2484
|
get meta() {
|
|
2488
2485
|
return ValueMetadata.Any;
|
|
@@ -2507,9 +2504,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2507
2504
|
property: "latchStatus",
|
|
2508
2505
|
}),
|
|
2509
2506
|
is: (valueId) => {
|
|
2510
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2507
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2511
2508
|
&& valueId.property === "latchStatus"
|
|
2512
|
-
&& valueId.propertyKey == undefined;
|
|
2509
|
+
&& valueId.propertyKey == undefined);
|
|
2513
2510
|
},
|
|
2514
2511
|
get meta() {
|
|
2515
2512
|
return {
|
|
@@ -2537,9 +2534,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2537
2534
|
property: "boltSupported",
|
|
2538
2535
|
}),
|
|
2539
2536
|
is: (valueId) => {
|
|
2540
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2537
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2541
2538
|
&& valueId.property === "boltSupported"
|
|
2542
|
-
&& valueId.propertyKey == undefined;
|
|
2539
|
+
&& valueId.propertyKey == undefined);
|
|
2543
2540
|
},
|
|
2544
2541
|
get meta() {
|
|
2545
2542
|
return ValueMetadata.Any;
|
|
@@ -2564,9 +2561,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2564
2561
|
property: "boltStatus",
|
|
2565
2562
|
}),
|
|
2566
2563
|
is: (valueId) => {
|
|
2567
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2564
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2568
2565
|
&& valueId.property === "boltStatus"
|
|
2569
|
-
&& valueId.propertyKey == undefined;
|
|
2566
|
+
&& valueId.propertyKey == undefined);
|
|
2570
2567
|
},
|
|
2571
2568
|
get meta() {
|
|
2572
2569
|
return {
|
|
@@ -2594,9 +2591,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2594
2591
|
property: "doorSupported",
|
|
2595
2592
|
}),
|
|
2596
2593
|
is: (valueId) => {
|
|
2597
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2594
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2598
2595
|
&& valueId.property === "doorSupported"
|
|
2599
|
-
&& valueId.propertyKey == undefined;
|
|
2596
|
+
&& valueId.propertyKey == undefined);
|
|
2600
2597
|
},
|
|
2601
2598
|
get meta() {
|
|
2602
2599
|
return ValueMetadata.Any;
|
|
@@ -2621,9 +2618,9 @@ export const DoorLockCCValues = Object.freeze({
|
|
|
2621
2618
|
property: "doorStatus",
|
|
2622
2619
|
}),
|
|
2623
2620
|
is: (valueId) => {
|
|
2624
|
-
return valueId.commandClass === CommandClasses["Door Lock"]
|
|
2621
|
+
return (valueId.commandClass === CommandClasses["Door Lock"]
|
|
2625
2622
|
&& valueId.property === "doorStatus"
|
|
2626
|
-
&& valueId.propertyKey == undefined;
|
|
2623
|
+
&& valueId.propertyKey == undefined);
|
|
2627
2624
|
},
|
|
2628
2625
|
get meta() {
|
|
2629
2626
|
return {
|
|
@@ -2695,9 +2692,9 @@ export const DoorLockLoggingCCValues = Object.freeze({
|
|
|
2695
2692
|
property: "recordsCount",
|
|
2696
2693
|
}),
|
|
2697
2694
|
is: (valueId) => {
|
|
2698
|
-
return valueId.commandClass === CommandClasses["Door Lock Logging"]
|
|
2695
|
+
return (valueId.commandClass === CommandClasses["Door Lock Logging"]
|
|
2699
2696
|
&& valueId.property === "recordsCount"
|
|
2700
|
-
&& valueId.propertyKey == undefined;
|
|
2697
|
+
&& valueId.propertyKey == undefined);
|
|
2701
2698
|
},
|
|
2702
2699
|
get meta() {
|
|
2703
2700
|
return ValueMetadata.Any;
|
|
@@ -2738,10 +2735,9 @@ export const EnergyProductionCCValues = Object.freeze({
|
|
|
2738
2735
|
};
|
|
2739
2736
|
}, {
|
|
2740
2737
|
is: (valueId) => {
|
|
2741
|
-
return valueId.commandClass
|
|
2742
|
-
=== CommandClasses["Energy Production"]
|
|
2738
|
+
return (valueId.commandClass === CommandClasses["Energy Production"]
|
|
2743
2739
|
&& (({ property, propertyKey }) => property === "value"
|
|
2744
|
-
&& typeof propertyKey === "number")(valueId);
|
|
2740
|
+
&& typeof propertyKey === "number")(valueId));
|
|
2745
2741
|
},
|
|
2746
2742
|
options: {
|
|
2747
2743
|
internal: false,
|
|
@@ -2765,9 +2761,9 @@ export const EntryControlCCValues = Object.freeze({
|
|
|
2765
2761
|
property: "keyCacheSize",
|
|
2766
2762
|
}),
|
|
2767
2763
|
is: (valueId) => {
|
|
2768
|
-
return valueId.commandClass === CommandClasses["Entry Control"]
|
|
2764
|
+
return (valueId.commandClass === CommandClasses["Entry Control"]
|
|
2769
2765
|
&& valueId.property === "keyCacheSize"
|
|
2770
|
-
&& valueId.propertyKey == undefined;
|
|
2766
|
+
&& valueId.propertyKey == undefined);
|
|
2771
2767
|
},
|
|
2772
2768
|
get meta() {
|
|
2773
2769
|
return {
|
|
@@ -2798,9 +2794,9 @@ export const EntryControlCCValues = Object.freeze({
|
|
|
2798
2794
|
property: "keyCacheTimeout",
|
|
2799
2795
|
}),
|
|
2800
2796
|
is: (valueId) => {
|
|
2801
|
-
return valueId.commandClass === CommandClasses["Entry Control"]
|
|
2797
|
+
return (valueId.commandClass === CommandClasses["Entry Control"]
|
|
2802
2798
|
&& valueId.property === "keyCacheTimeout"
|
|
2803
|
-
&& valueId.propertyKey == undefined;
|
|
2799
|
+
&& valueId.propertyKey == undefined);
|
|
2804
2800
|
},
|
|
2805
2801
|
get meta() {
|
|
2806
2802
|
return {
|
|
@@ -2832,9 +2828,9 @@ export const EntryControlCCValues = Object.freeze({
|
|
|
2832
2828
|
property: "supportedDataTypes",
|
|
2833
2829
|
}),
|
|
2834
2830
|
is: (valueId) => {
|
|
2835
|
-
return valueId.commandClass === CommandClasses["Entry Control"]
|
|
2831
|
+
return (valueId.commandClass === CommandClasses["Entry Control"]
|
|
2836
2832
|
&& valueId.property === "supportedDataTypes"
|
|
2837
|
-
&& valueId.propertyKey == undefined;
|
|
2833
|
+
&& valueId.propertyKey == undefined);
|
|
2838
2834
|
},
|
|
2839
2835
|
get meta() {
|
|
2840
2836
|
return ValueMetadata.Any;
|
|
@@ -2859,9 +2855,9 @@ export const EntryControlCCValues = Object.freeze({
|
|
|
2859
2855
|
property: "supportedEventTypes",
|
|
2860
2856
|
}),
|
|
2861
2857
|
is: (valueId) => {
|
|
2862
|
-
return valueId.commandClass === CommandClasses["Entry Control"]
|
|
2858
|
+
return (valueId.commandClass === CommandClasses["Entry Control"]
|
|
2863
2859
|
&& valueId.property === "supportedEventTypes"
|
|
2864
|
-
&& valueId.propertyKey == undefined;
|
|
2860
|
+
&& valueId.propertyKey == undefined);
|
|
2865
2861
|
},
|
|
2866
2862
|
get meta() {
|
|
2867
2863
|
return ValueMetadata.Any;
|
|
@@ -2886,9 +2882,9 @@ export const EntryControlCCValues = Object.freeze({
|
|
|
2886
2882
|
property: "supportedKeys",
|
|
2887
2883
|
}),
|
|
2888
2884
|
is: (valueId) => {
|
|
2889
|
-
return valueId.commandClass === CommandClasses["Entry Control"]
|
|
2885
|
+
return (valueId.commandClass === CommandClasses["Entry Control"]
|
|
2890
2886
|
&& valueId.property === "supportedKeys"
|
|
2891
|
-
&& valueId.propertyKey == undefined;
|
|
2887
|
+
&& valueId.propertyKey == undefined);
|
|
2892
2888
|
},
|
|
2893
2889
|
get meta() {
|
|
2894
2890
|
return ValueMetadata.Any;
|
|
@@ -2915,10 +2911,10 @@ export const FirmwareUpdateMetaDataCCValues = Object.freeze({
|
|
|
2915
2911
|
property: "supportsActivation",
|
|
2916
2912
|
}),
|
|
2917
2913
|
is: (valueId) => {
|
|
2918
|
-
return valueId.commandClass
|
|
2914
|
+
return (valueId.commandClass
|
|
2919
2915
|
=== CommandClasses["Firmware Update Meta Data"]
|
|
2920
2916
|
&& valueId.property === "supportsActivation"
|
|
2921
|
-
&& valueId.propertyKey == undefined;
|
|
2917
|
+
&& valueId.propertyKey == undefined);
|
|
2922
2918
|
},
|
|
2923
2919
|
get meta() {
|
|
2924
2920
|
return ValueMetadata.Any;
|
|
@@ -2943,10 +2939,10 @@ export const FirmwareUpdateMetaDataCCValues = Object.freeze({
|
|
|
2943
2939
|
property: "firmwareUpgradable",
|
|
2944
2940
|
}),
|
|
2945
2941
|
is: (valueId) => {
|
|
2946
|
-
return valueId.commandClass
|
|
2942
|
+
return (valueId.commandClass
|
|
2947
2943
|
=== CommandClasses["Firmware Update Meta Data"]
|
|
2948
2944
|
&& valueId.property === "firmwareUpgradable"
|
|
2949
|
-
&& valueId.propertyKey == undefined;
|
|
2945
|
+
&& valueId.propertyKey == undefined);
|
|
2950
2946
|
},
|
|
2951
2947
|
get meta() {
|
|
2952
2948
|
return ValueMetadata.Any;
|
|
@@ -2971,10 +2967,10 @@ export const FirmwareUpdateMetaDataCCValues = Object.freeze({
|
|
|
2971
2967
|
property: "additionalFirmwareIDs",
|
|
2972
2968
|
}),
|
|
2973
2969
|
is: (valueId) => {
|
|
2974
|
-
return valueId.commandClass
|
|
2970
|
+
return (valueId.commandClass
|
|
2975
2971
|
=== CommandClasses["Firmware Update Meta Data"]
|
|
2976
2972
|
&& valueId.property === "additionalFirmwareIDs"
|
|
2977
|
-
&& valueId.propertyKey == undefined;
|
|
2973
|
+
&& valueId.propertyKey == undefined);
|
|
2978
2974
|
},
|
|
2979
2975
|
get meta() {
|
|
2980
2976
|
return ValueMetadata.Any;
|
|
@@ -2999,10 +2995,10 @@ export const FirmwareUpdateMetaDataCCValues = Object.freeze({
|
|
|
2999
2995
|
property: "continuesToFunction",
|
|
3000
2996
|
}),
|
|
3001
2997
|
is: (valueId) => {
|
|
3002
|
-
return valueId.commandClass
|
|
2998
|
+
return (valueId.commandClass
|
|
3003
2999
|
=== CommandClasses["Firmware Update Meta Data"]
|
|
3004
3000
|
&& valueId.property === "continuesToFunction"
|
|
3005
|
-
&& valueId.propertyKey == undefined;
|
|
3001
|
+
&& valueId.propertyKey == undefined);
|
|
3006
3002
|
},
|
|
3007
3003
|
get meta() {
|
|
3008
3004
|
return ValueMetadata.Any;
|
|
@@ -3027,10 +3023,10 @@ export const FirmwareUpdateMetaDataCCValues = Object.freeze({
|
|
|
3027
3023
|
property: "supportsResuming",
|
|
3028
3024
|
}),
|
|
3029
3025
|
is: (valueId) => {
|
|
3030
|
-
return valueId.commandClass
|
|
3026
|
+
return (valueId.commandClass
|
|
3031
3027
|
=== CommandClasses["Firmware Update Meta Data"]
|
|
3032
3028
|
&& valueId.property === "supportsResuming"
|
|
3033
|
-
&& valueId.propertyKey == undefined;
|
|
3029
|
+
&& valueId.propertyKey == undefined);
|
|
3034
3030
|
},
|
|
3035
3031
|
get meta() {
|
|
3036
3032
|
return ValueMetadata.Any;
|
|
@@ -3055,10 +3051,10 @@ export const FirmwareUpdateMetaDataCCValues = Object.freeze({
|
|
|
3055
3051
|
property: "supportsNonSecureTransfer",
|
|
3056
3052
|
}),
|
|
3057
3053
|
is: (valueId) => {
|
|
3058
|
-
return valueId.commandClass
|
|
3054
|
+
return (valueId.commandClass
|
|
3059
3055
|
=== CommandClasses["Firmware Update Meta Data"]
|
|
3060
3056
|
&& valueId.property === "supportsNonSecureTransfer"
|
|
3061
|
-
&& valueId.propertyKey == undefined;
|
|
3057
|
+
&& valueId.propertyKey == undefined);
|
|
3062
3058
|
},
|
|
3063
3059
|
get meta() {
|
|
3064
3060
|
return ValueMetadata.Any;
|
|
@@ -3085,10 +3081,9 @@ export const HumidityControlModeCCValues = Object.freeze({
|
|
|
3085
3081
|
property: "mode",
|
|
3086
3082
|
}),
|
|
3087
3083
|
is: (valueId) => {
|
|
3088
|
-
return valueId.commandClass
|
|
3089
|
-
=== CommandClasses["Humidity Control Mode"]
|
|
3084
|
+
return (valueId.commandClass === CommandClasses["Humidity Control Mode"]
|
|
3090
3085
|
&& valueId.property === "mode"
|
|
3091
|
-
&& valueId.propertyKey == undefined;
|
|
3086
|
+
&& valueId.propertyKey == undefined);
|
|
3092
3087
|
},
|
|
3093
3088
|
get meta() {
|
|
3094
3089
|
return {
|
|
@@ -3117,10 +3112,9 @@ export const HumidityControlModeCCValues = Object.freeze({
|
|
|
3117
3112
|
property: "supportedModes",
|
|
3118
3113
|
}),
|
|
3119
3114
|
is: (valueId) => {
|
|
3120
|
-
return valueId.commandClass
|
|
3121
|
-
=== CommandClasses["Humidity Control Mode"]
|
|
3115
|
+
return (valueId.commandClass === CommandClasses["Humidity Control Mode"]
|
|
3122
3116
|
&& valueId.property === "supportedModes"
|
|
3123
|
-
&& valueId.propertyKey == undefined;
|
|
3117
|
+
&& valueId.propertyKey == undefined);
|
|
3124
3118
|
},
|
|
3125
3119
|
get meta() {
|
|
3126
3120
|
return ValueMetadata.Any;
|
|
@@ -3147,10 +3141,10 @@ export const HumidityControlOperatingStateCCValues = Object.freeze({
|
|
|
3147
3141
|
property: "state",
|
|
3148
3142
|
}),
|
|
3149
3143
|
is: (valueId) => {
|
|
3150
|
-
return valueId.commandClass
|
|
3144
|
+
return (valueId.commandClass
|
|
3151
3145
|
=== CommandClasses["Humidity Control Operating State"]
|
|
3152
3146
|
&& valueId.property === "state"
|
|
3153
|
-
&& valueId.propertyKey == undefined;
|
|
3147
|
+
&& valueId.propertyKey == undefined);
|
|
3154
3148
|
},
|
|
3155
3149
|
get meta() {
|
|
3156
3150
|
return {
|
|
@@ -3181,10 +3175,10 @@ export const HumidityControlSetpointCCValues = Object.freeze({
|
|
|
3181
3175
|
property: "supportedSetpointTypes",
|
|
3182
3176
|
}),
|
|
3183
3177
|
is: (valueId) => {
|
|
3184
|
-
return valueId.commandClass
|
|
3178
|
+
return (valueId.commandClass
|
|
3185
3179
|
=== CommandClasses["Humidity Control Setpoint"]
|
|
3186
3180
|
&& valueId.property === "supportedSetpointTypes"
|
|
3187
|
-
&& valueId.propertyKey == undefined;
|
|
3181
|
+
&& valueId.propertyKey == undefined);
|
|
3188
3182
|
},
|
|
3189
3183
|
get meta() {
|
|
3190
3184
|
return ValueMetadata.Any;
|
|
@@ -3224,10 +3218,10 @@ export const HumidityControlSetpointCCValues = Object.freeze({
|
|
|
3224
3218
|
};
|
|
3225
3219
|
}, {
|
|
3226
3220
|
is: (valueId) => {
|
|
3227
|
-
return valueId.commandClass
|
|
3221
|
+
return (valueId.commandClass
|
|
3228
3222
|
=== CommandClasses["Humidity Control Setpoint"]
|
|
3229
3223
|
&& (({ property, propertyKey }) => property === "setpoint"
|
|
3230
|
-
&& typeof propertyKey === "number")(valueId);
|
|
3224
|
+
&& typeof propertyKey === "number")(valueId));
|
|
3231
3225
|
},
|
|
3232
3226
|
options: {
|
|
3233
3227
|
internal: false,
|
|
@@ -3262,10 +3256,10 @@ export const HumidityControlSetpointCCValues = Object.freeze({
|
|
|
3262
3256
|
};
|
|
3263
3257
|
}, {
|
|
3264
3258
|
is: (valueId) => {
|
|
3265
|
-
return valueId.commandClass
|
|
3259
|
+
return (valueId.commandClass
|
|
3266
3260
|
=== CommandClasses["Humidity Control Setpoint"]
|
|
3267
3261
|
&& (({ property, propertyKey }) => property === "setpointScale"
|
|
3268
|
-
&& typeof propertyKey === "number")(valueId);
|
|
3262
|
+
&& typeof propertyKey === "number")(valueId));
|
|
3269
3263
|
},
|
|
3270
3264
|
options: {
|
|
3271
3265
|
internal: false,
|
|
@@ -3289,9 +3283,9 @@ export const IndicatorCCValues = Object.freeze({
|
|
|
3289
3283
|
property: "supportedIndicatorIds",
|
|
3290
3284
|
}),
|
|
3291
3285
|
is: (valueId) => {
|
|
3292
|
-
return valueId.commandClass === CommandClasses.Indicator
|
|
3286
|
+
return (valueId.commandClass === CommandClasses.Indicator
|
|
3293
3287
|
&& valueId.property === "supportedIndicatorIds"
|
|
3294
|
-
&& valueId.propertyKey == undefined;
|
|
3288
|
+
&& valueId.propertyKey == undefined);
|
|
3295
3289
|
},
|
|
3296
3290
|
get meta() {
|
|
3297
3291
|
return ValueMetadata.Any;
|
|
@@ -3316,9 +3310,9 @@ export const IndicatorCCValues = Object.freeze({
|
|
|
3316
3310
|
property: "value",
|
|
3317
3311
|
}),
|
|
3318
3312
|
is: (valueId) => {
|
|
3319
|
-
return valueId.commandClass === CommandClasses.Indicator
|
|
3313
|
+
return (valueId.commandClass === CommandClasses.Indicator
|
|
3320
3314
|
&& valueId.property === "value"
|
|
3321
|
-
&& valueId.propertyKey == undefined;
|
|
3315
|
+
&& valueId.propertyKey == undefined);
|
|
3322
3316
|
},
|
|
3323
3317
|
get meta() {
|
|
3324
3318
|
return {
|
|
@@ -3349,9 +3343,9 @@ export const IndicatorCCValues = Object.freeze({
|
|
|
3349
3343
|
property: "identify",
|
|
3350
3344
|
}),
|
|
3351
3345
|
is: (valueId) => {
|
|
3352
|
-
return valueId.commandClass === CommandClasses.Indicator
|
|
3346
|
+
return (valueId.commandClass === CommandClasses.Indicator
|
|
3353
3347
|
&& valueId.property === "identify"
|
|
3354
|
-
&& valueId.propertyKey == undefined;
|
|
3348
|
+
&& valueId.propertyKey == undefined);
|
|
3355
3349
|
},
|
|
3356
3350
|
get meta() {
|
|
3357
3351
|
return {
|
|
@@ -3392,9 +3386,9 @@ export const IndicatorCCValues = Object.freeze({
|
|
|
3392
3386
|
};
|
|
3393
3387
|
}, {
|
|
3394
3388
|
is: (valueId) => {
|
|
3395
|
-
return valueId.commandClass === CommandClasses.Indicator
|
|
3389
|
+
return (valueId.commandClass === CommandClasses.Indicator
|
|
3396
3390
|
&& (({ property, propertyKey }) => property === "supportedPropertyIDs"
|
|
3397
|
-
&& typeof propertyKey === "number")(valueId);
|
|
3391
|
+
&& typeof propertyKey === "number")(valueId));
|
|
3398
3392
|
},
|
|
3399
3393
|
options: {
|
|
3400
3394
|
internal: true,
|
|
@@ -3432,9 +3426,9 @@ export const IndicatorCCValues = Object.freeze({
|
|
|
3432
3426
|
};
|
|
3433
3427
|
}, {
|
|
3434
3428
|
is: (valueId) => {
|
|
3435
|
-
return valueId.commandClass === CommandClasses.Indicator
|
|
3429
|
+
return (valueId.commandClass === CommandClasses.Indicator
|
|
3436
3430
|
&& (({ property, propertyKey }) => typeof property === "number"
|
|
3437
|
-
&& typeof propertyKey === "number")(valueId);
|
|
3431
|
+
&& typeof propertyKey === "number")(valueId));
|
|
3438
3432
|
},
|
|
3439
3433
|
options: {
|
|
3440
3434
|
internal: false,
|
|
@@ -3472,9 +3466,9 @@ export const IndicatorCCValues = Object.freeze({
|
|
|
3472
3466
|
};
|
|
3473
3467
|
}, {
|
|
3474
3468
|
is: (valueId) => {
|
|
3475
|
-
return valueId.commandClass === CommandClasses.Indicator
|
|
3469
|
+
return (valueId.commandClass === CommandClasses.Indicator
|
|
3476
3470
|
&& (({ property, propertyKey }) => typeof property === "number"
|
|
3477
|
-
&& propertyKey === "timeout")(valueId);
|
|
3471
|
+
&& propertyKey === "timeout")(valueId));
|
|
3478
3472
|
},
|
|
3479
3473
|
options: {
|
|
3480
3474
|
internal: false,
|
|
@@ -3503,8 +3497,8 @@ export const IndicatorCCValues = Object.freeze({
|
|
|
3503
3497
|
};
|
|
3504
3498
|
}, {
|
|
3505
3499
|
is: (valueId) => {
|
|
3506
|
-
return valueId.commandClass === CommandClasses.Indicator
|
|
3507
|
-
&& (({ property }) => typeof property === "number")(valueId);
|
|
3500
|
+
return (valueId.commandClass === CommandClasses.Indicator
|
|
3501
|
+
&& (({ property }) => typeof property === "number")(valueId));
|
|
3508
3502
|
},
|
|
3509
3503
|
options: {
|
|
3510
3504
|
internal: true,
|
|
@@ -3528,9 +3522,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3528
3522
|
property: "numValves",
|
|
3529
3523
|
}),
|
|
3530
3524
|
is: (valueId) => {
|
|
3531
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3525
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3532
3526
|
&& valueId.property === "numValves"
|
|
3533
|
-
&& valueId.propertyKey == undefined;
|
|
3527
|
+
&& valueId.propertyKey == undefined);
|
|
3534
3528
|
},
|
|
3535
3529
|
get meta() {
|
|
3536
3530
|
return ValueMetadata.Any;
|
|
@@ -3555,9 +3549,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3555
3549
|
property: "numValveTables",
|
|
3556
3550
|
}),
|
|
3557
3551
|
is: (valueId) => {
|
|
3558
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3552
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3559
3553
|
&& valueId.property === "numValveTables"
|
|
3560
|
-
&& valueId.propertyKey == undefined;
|
|
3554
|
+
&& valueId.propertyKey == undefined);
|
|
3561
3555
|
},
|
|
3562
3556
|
get meta() {
|
|
3563
3557
|
return ValueMetadata.Any;
|
|
@@ -3582,9 +3576,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3582
3576
|
property: "supportsMasterValve",
|
|
3583
3577
|
}),
|
|
3584
3578
|
is: (valueId) => {
|
|
3585
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3579
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3586
3580
|
&& valueId.property === "supportsMasterValve"
|
|
3587
|
-
&& valueId.propertyKey == undefined;
|
|
3581
|
+
&& valueId.propertyKey == undefined);
|
|
3588
3582
|
},
|
|
3589
3583
|
get meta() {
|
|
3590
3584
|
return ValueMetadata.Any;
|
|
@@ -3609,9 +3603,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3609
3603
|
property: "maxValveTableSize",
|
|
3610
3604
|
}),
|
|
3611
3605
|
is: (valueId) => {
|
|
3612
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3606
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3613
3607
|
&& valueId.property === "maxValveTableSize"
|
|
3614
|
-
&& valueId.propertyKey == undefined;
|
|
3608
|
+
&& valueId.propertyKey == undefined);
|
|
3615
3609
|
},
|
|
3616
3610
|
get meta() {
|
|
3617
3611
|
return ValueMetadata.Any;
|
|
@@ -3636,9 +3630,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3636
3630
|
property: "systemVoltage",
|
|
3637
3631
|
}),
|
|
3638
3632
|
is: (valueId) => {
|
|
3639
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3633
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3640
3634
|
&& valueId.property === "systemVoltage"
|
|
3641
|
-
&& valueId.propertyKey == undefined;
|
|
3635
|
+
&& valueId.propertyKey == undefined);
|
|
3642
3636
|
},
|
|
3643
3637
|
get meta() {
|
|
3644
3638
|
return {
|
|
@@ -3667,9 +3661,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3667
3661
|
property: "masterValveDelay",
|
|
3668
3662
|
}),
|
|
3669
3663
|
is: (valueId) => {
|
|
3670
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3664
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3671
3665
|
&& valueId.property === "masterValveDelay"
|
|
3672
|
-
&& valueId.propertyKey == undefined;
|
|
3666
|
+
&& valueId.propertyKey == undefined);
|
|
3673
3667
|
},
|
|
3674
3668
|
get meta() {
|
|
3675
3669
|
return {
|
|
@@ -3699,9 +3693,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3699
3693
|
property: "flowSensorActive",
|
|
3700
3694
|
}),
|
|
3701
3695
|
is: (valueId) => {
|
|
3702
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3696
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3703
3697
|
&& valueId.property === "flowSensorActive"
|
|
3704
|
-
&& valueId.propertyKey == undefined;
|
|
3698
|
+
&& valueId.propertyKey == undefined);
|
|
3705
3699
|
},
|
|
3706
3700
|
get meta() {
|
|
3707
3701
|
return {
|
|
@@ -3729,9 +3723,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3729
3723
|
property: "pressureSensorActive",
|
|
3730
3724
|
}),
|
|
3731
3725
|
is: (valueId) => {
|
|
3732
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3726
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3733
3727
|
&& valueId.property === "pressureSensorActive"
|
|
3734
|
-
&& valueId.propertyKey == undefined;
|
|
3728
|
+
&& valueId.propertyKey == undefined);
|
|
3735
3729
|
},
|
|
3736
3730
|
get meta() {
|
|
3737
3731
|
return {
|
|
@@ -3759,9 +3753,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3759
3753
|
property: "rainSensorActive",
|
|
3760
3754
|
}),
|
|
3761
3755
|
is: (valueId) => {
|
|
3762
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3756
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3763
3757
|
&& valueId.property === "rainSensorActive"
|
|
3764
|
-
&& valueId.propertyKey == undefined;
|
|
3758
|
+
&& valueId.propertyKey == undefined);
|
|
3765
3759
|
},
|
|
3766
3760
|
get meta() {
|
|
3767
3761
|
return {
|
|
@@ -3789,9 +3783,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3789
3783
|
property: "rainSensorPolarity",
|
|
3790
3784
|
}),
|
|
3791
3785
|
is: (valueId) => {
|
|
3792
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3786
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3793
3787
|
&& valueId.property === "rainSensorPolarity"
|
|
3794
|
-
&& valueId.propertyKey == undefined;
|
|
3788
|
+
&& valueId.propertyKey == undefined);
|
|
3795
3789
|
},
|
|
3796
3790
|
get meta() {
|
|
3797
3791
|
return {
|
|
@@ -3822,9 +3816,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3822
3816
|
property: "moistureSensorActive",
|
|
3823
3817
|
}),
|
|
3824
3818
|
is: (valueId) => {
|
|
3825
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3819
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3826
3820
|
&& valueId.property === "moistureSensorActive"
|
|
3827
|
-
&& valueId.propertyKey == undefined;
|
|
3821
|
+
&& valueId.propertyKey == undefined);
|
|
3828
3822
|
},
|
|
3829
3823
|
get meta() {
|
|
3830
3824
|
return {
|
|
@@ -3852,9 +3846,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3852
3846
|
property: "moistureSensorPolarity",
|
|
3853
3847
|
}),
|
|
3854
3848
|
is: (valueId) => {
|
|
3855
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3849
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3856
3850
|
&& valueId.property === "moistureSensorPolarity"
|
|
3857
|
-
&& valueId.propertyKey == undefined;
|
|
3851
|
+
&& valueId.propertyKey == undefined);
|
|
3858
3852
|
},
|
|
3859
3853
|
get meta() {
|
|
3860
3854
|
return {
|
|
@@ -3885,9 +3879,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3885
3879
|
property: "flow",
|
|
3886
3880
|
}),
|
|
3887
3881
|
is: (valueId) => {
|
|
3888
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3882
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3889
3883
|
&& valueId.property === "flow"
|
|
3890
|
-
&& valueId.propertyKey == undefined;
|
|
3884
|
+
&& valueId.propertyKey == undefined);
|
|
3891
3885
|
},
|
|
3892
3886
|
get meta() {
|
|
3893
3887
|
return {
|
|
@@ -3916,9 +3910,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3916
3910
|
property: "pressure",
|
|
3917
3911
|
}),
|
|
3918
3912
|
is: (valueId) => {
|
|
3919
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3913
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3920
3914
|
&& valueId.property === "pressure"
|
|
3921
|
-
&& valueId.propertyKey == undefined;
|
|
3915
|
+
&& valueId.propertyKey == undefined);
|
|
3922
3916
|
},
|
|
3923
3917
|
get meta() {
|
|
3924
3918
|
return {
|
|
@@ -3947,9 +3941,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3947
3941
|
property: "shutoffDuration",
|
|
3948
3942
|
}),
|
|
3949
3943
|
is: (valueId) => {
|
|
3950
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3944
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3951
3945
|
&& valueId.property === "shutoffDuration"
|
|
3952
|
-
&& valueId.propertyKey == undefined;
|
|
3946
|
+
&& valueId.propertyKey == undefined);
|
|
3953
3947
|
},
|
|
3954
3948
|
get meta() {
|
|
3955
3949
|
return {
|
|
@@ -3978,9 +3972,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
3978
3972
|
property: "errorNotProgrammed",
|
|
3979
3973
|
}),
|
|
3980
3974
|
is: (valueId) => {
|
|
3981
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
3975
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
3982
3976
|
&& valueId.property === "errorNotProgrammed"
|
|
3983
|
-
&& valueId.propertyKey == undefined;
|
|
3977
|
+
&& valueId.propertyKey == undefined);
|
|
3984
3978
|
},
|
|
3985
3979
|
get meta() {
|
|
3986
3980
|
return {
|
|
@@ -4008,9 +4002,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4008
4002
|
property: "errorEmergencyShutdown",
|
|
4009
4003
|
}),
|
|
4010
4004
|
is: (valueId) => {
|
|
4011
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4005
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4012
4006
|
&& valueId.property === "errorEmergencyShutdown"
|
|
4013
|
-
&& valueId.propertyKey == undefined;
|
|
4007
|
+
&& valueId.propertyKey == undefined);
|
|
4014
4008
|
},
|
|
4015
4009
|
get meta() {
|
|
4016
4010
|
return {
|
|
@@ -4038,9 +4032,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4038
4032
|
property: "errorHighPressure",
|
|
4039
4033
|
}),
|
|
4040
4034
|
is: (valueId) => {
|
|
4041
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4035
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4042
4036
|
&& valueId.property === "errorHighPressure"
|
|
4043
|
-
&& valueId.propertyKey == undefined;
|
|
4037
|
+
&& valueId.propertyKey == undefined);
|
|
4044
4038
|
},
|
|
4045
4039
|
get meta() {
|
|
4046
4040
|
return {
|
|
@@ -4068,9 +4062,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4068
4062
|
property: "highPressureThreshold",
|
|
4069
4063
|
}),
|
|
4070
4064
|
is: (valueId) => {
|
|
4071
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4065
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4072
4066
|
&& valueId.property === "highPressureThreshold"
|
|
4073
|
-
&& valueId.propertyKey == undefined;
|
|
4067
|
+
&& valueId.propertyKey == undefined);
|
|
4074
4068
|
},
|
|
4075
4069
|
get meta() {
|
|
4076
4070
|
return {
|
|
@@ -4099,9 +4093,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4099
4093
|
property: "errorLowPressure",
|
|
4100
4094
|
}),
|
|
4101
4095
|
is: (valueId) => {
|
|
4102
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4096
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4103
4097
|
&& valueId.property === "errorLowPressure"
|
|
4104
|
-
&& valueId.propertyKey == undefined;
|
|
4098
|
+
&& valueId.propertyKey == undefined);
|
|
4105
4099
|
},
|
|
4106
4100
|
get meta() {
|
|
4107
4101
|
return {
|
|
@@ -4129,9 +4123,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4129
4123
|
property: "lowPressureThreshold",
|
|
4130
4124
|
}),
|
|
4131
4125
|
is: (valueId) => {
|
|
4132
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4126
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4133
4127
|
&& valueId.property === "lowPressureThreshold"
|
|
4134
|
-
&& valueId.propertyKey == undefined;
|
|
4128
|
+
&& valueId.propertyKey == undefined);
|
|
4135
4129
|
},
|
|
4136
4130
|
get meta() {
|
|
4137
4131
|
return {
|
|
@@ -4160,9 +4154,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4160
4154
|
property: "errorValve",
|
|
4161
4155
|
}),
|
|
4162
4156
|
is: (valueId) => {
|
|
4163
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4157
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4164
4158
|
&& valueId.property === "errorValve"
|
|
4165
|
-
&& valueId.propertyKey == undefined;
|
|
4159
|
+
&& valueId.propertyKey == undefined);
|
|
4166
4160
|
},
|
|
4167
4161
|
get meta() {
|
|
4168
4162
|
return {
|
|
@@ -4190,9 +4184,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4190
4184
|
property: "masterValveOpen",
|
|
4191
4185
|
}),
|
|
4192
4186
|
is: (valueId) => {
|
|
4193
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4187
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4194
4188
|
&& valueId.property === "masterValveOpen"
|
|
4195
|
-
&& valueId.propertyKey == undefined;
|
|
4189
|
+
&& valueId.propertyKey == undefined);
|
|
4196
4190
|
},
|
|
4197
4191
|
get meta() {
|
|
4198
4192
|
return {
|
|
@@ -4220,9 +4214,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4220
4214
|
property: "firstOpenZoneId",
|
|
4221
4215
|
}),
|
|
4222
4216
|
is: (valueId) => {
|
|
4223
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4217
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4224
4218
|
&& valueId.property === "firstOpenZoneId"
|
|
4225
|
-
&& valueId.propertyKey == undefined;
|
|
4219
|
+
&& valueId.propertyKey == undefined);
|
|
4226
4220
|
},
|
|
4227
4221
|
get meta() {
|
|
4228
4222
|
return {
|
|
@@ -4250,9 +4244,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4250
4244
|
property: "shutoff",
|
|
4251
4245
|
}),
|
|
4252
4246
|
is: (valueId) => {
|
|
4253
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4247
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4254
4248
|
&& valueId.property === "shutoff"
|
|
4255
|
-
&& valueId.propertyKey == undefined;
|
|
4249
|
+
&& valueId.propertyKey == undefined);
|
|
4256
4250
|
},
|
|
4257
4251
|
get meta() {
|
|
4258
4252
|
return {
|
|
@@ -4296,9 +4290,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4296
4290
|
};
|
|
4297
4291
|
}, {
|
|
4298
4292
|
is: (valueId) => {
|
|
4299
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4293
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4300
4294
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4301
|
-
&& propertyKey === "valveConnected")(valueId);
|
|
4295
|
+
&& propertyKey === "valveConnected")(valueId));
|
|
4302
4296
|
},
|
|
4303
4297
|
options: {
|
|
4304
4298
|
internal: false,
|
|
@@ -4334,9 +4328,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4334
4328
|
};
|
|
4335
4329
|
}, {
|
|
4336
4330
|
is: (valueId) => {
|
|
4337
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4331
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4338
4332
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4339
|
-
&& propertyKey === "nominalCurrent")(valueId);
|
|
4333
|
+
&& propertyKey === "nominalCurrent")(valueId));
|
|
4340
4334
|
},
|
|
4341
4335
|
options: {
|
|
4342
4336
|
internal: false,
|
|
@@ -4374,9 +4368,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4374
4368
|
};
|
|
4375
4369
|
}, {
|
|
4376
4370
|
is: (valueId) => {
|
|
4377
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4371
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4378
4372
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4379
|
-
&& propertyKey === "nominalCurrentHighThreshold")(valueId);
|
|
4373
|
+
&& propertyKey === "nominalCurrentHighThreshold")(valueId));
|
|
4380
4374
|
},
|
|
4381
4375
|
options: {
|
|
4382
4376
|
internal: false,
|
|
@@ -4414,9 +4408,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4414
4408
|
};
|
|
4415
4409
|
}, {
|
|
4416
4410
|
is: (valueId) => {
|
|
4417
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4411
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4418
4412
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4419
|
-
&& propertyKey === "nominalCurrentLowThreshold")(valueId);
|
|
4413
|
+
&& propertyKey === "nominalCurrentLowThreshold")(valueId));
|
|
4420
4414
|
},
|
|
4421
4415
|
options: {
|
|
4422
4416
|
internal: false,
|
|
@@ -4451,9 +4445,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4451
4445
|
};
|
|
4452
4446
|
}, {
|
|
4453
4447
|
is: (valueId) => {
|
|
4454
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4448
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4455
4449
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4456
|
-
&& propertyKey === "errorShortCircuit")(valueId);
|
|
4450
|
+
&& propertyKey === "errorShortCircuit")(valueId));
|
|
4457
4451
|
},
|
|
4458
4452
|
options: {
|
|
4459
4453
|
internal: false,
|
|
@@ -4488,9 +4482,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4488
4482
|
};
|
|
4489
4483
|
}, {
|
|
4490
4484
|
is: (valueId) => {
|
|
4491
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4485
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4492
4486
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4493
|
-
&& propertyKey === "errorHighCurrent")(valueId);
|
|
4487
|
+
&& propertyKey === "errorHighCurrent")(valueId));
|
|
4494
4488
|
},
|
|
4495
4489
|
options: {
|
|
4496
4490
|
internal: false,
|
|
@@ -4525,9 +4519,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4525
4519
|
};
|
|
4526
4520
|
}, {
|
|
4527
4521
|
is: (valueId) => {
|
|
4528
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4522
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4529
4523
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4530
|
-
&& propertyKey === "errorLowCurrent")(valueId);
|
|
4524
|
+
&& propertyKey === "errorLowCurrent")(valueId));
|
|
4531
4525
|
},
|
|
4532
4526
|
options: {
|
|
4533
4527
|
internal: false,
|
|
@@ -4564,9 +4558,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4564
4558
|
};
|
|
4565
4559
|
}, {
|
|
4566
4560
|
is: (valueId) => {
|
|
4567
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4561
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4568
4562
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4569
|
-
&& propertyKey === "maximumFlow")(valueId);
|
|
4563
|
+
&& propertyKey === "maximumFlow")(valueId));
|
|
4570
4564
|
},
|
|
4571
4565
|
options: {
|
|
4572
4566
|
internal: false,
|
|
@@ -4601,9 +4595,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4601
4595
|
};
|
|
4602
4596
|
}, {
|
|
4603
4597
|
is: (valueId) => {
|
|
4604
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4598
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4605
4599
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4606
|
-
&& propertyKey === "errorMaximumFlow")(valueId);
|
|
4600
|
+
&& propertyKey === "errorMaximumFlow")(valueId));
|
|
4607
4601
|
},
|
|
4608
4602
|
options: {
|
|
4609
4603
|
internal: false,
|
|
@@ -4640,9 +4634,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4640
4634
|
};
|
|
4641
4635
|
}, {
|
|
4642
4636
|
is: (valueId) => {
|
|
4643
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4637
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4644
4638
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4645
|
-
&& propertyKey === "highFlowThreshold")(valueId);
|
|
4639
|
+
&& propertyKey === "highFlowThreshold")(valueId));
|
|
4646
4640
|
},
|
|
4647
4641
|
options: {
|
|
4648
4642
|
internal: false,
|
|
@@ -4677,9 +4671,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4677
4671
|
};
|
|
4678
4672
|
}, {
|
|
4679
4673
|
is: (valueId) => {
|
|
4680
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4674
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4681
4675
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4682
|
-
&& propertyKey === "errorHighFlow")(valueId);
|
|
4676
|
+
&& propertyKey === "errorHighFlow")(valueId));
|
|
4683
4677
|
},
|
|
4684
4678
|
options: {
|
|
4685
4679
|
internal: false,
|
|
@@ -4716,9 +4710,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4716
4710
|
};
|
|
4717
4711
|
}, {
|
|
4718
4712
|
is: (valueId) => {
|
|
4719
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4713
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4720
4714
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4721
|
-
&& propertyKey === "lowFlowThreshold")(valueId);
|
|
4715
|
+
&& propertyKey === "lowFlowThreshold")(valueId));
|
|
4722
4716
|
},
|
|
4723
4717
|
options: {
|
|
4724
4718
|
internal: false,
|
|
@@ -4753,9 +4747,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4753
4747
|
};
|
|
4754
4748
|
}, {
|
|
4755
4749
|
is: (valueId) => {
|
|
4756
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4750
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4757
4751
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4758
|
-
&& propertyKey === "errorLowFlow")(valueId);
|
|
4752
|
+
&& propertyKey === "errorLowFlow")(valueId));
|
|
4759
4753
|
},
|
|
4760
4754
|
options: {
|
|
4761
4755
|
internal: false,
|
|
@@ -4790,9 +4784,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4790
4784
|
};
|
|
4791
4785
|
}, {
|
|
4792
4786
|
is: (valueId) => {
|
|
4793
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4787
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4794
4788
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4795
|
-
&& propertyKey === "useRainSensor")(valueId);
|
|
4789
|
+
&& propertyKey === "useRainSensor")(valueId));
|
|
4796
4790
|
},
|
|
4797
4791
|
options: {
|
|
4798
4792
|
internal: false,
|
|
@@ -4827,9 +4821,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4827
4821
|
};
|
|
4828
4822
|
}, {
|
|
4829
4823
|
is: (valueId) => {
|
|
4830
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4824
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4831
4825
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4832
|
-
&& propertyKey === "useMoistureSensor")(valueId);
|
|
4826
|
+
&& propertyKey === "useMoistureSensor")(valueId));
|
|
4833
4827
|
},
|
|
4834
4828
|
options: {
|
|
4835
4829
|
internal: false,
|
|
@@ -4866,9 +4860,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4866
4860
|
};
|
|
4867
4861
|
}, {
|
|
4868
4862
|
is: (valueId) => {
|
|
4869
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4863
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4870
4864
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4871
|
-
&& propertyKey === "duration")(valueId);
|
|
4865
|
+
&& propertyKey === "duration")(valueId));
|
|
4872
4866
|
},
|
|
4873
4867
|
options: {
|
|
4874
4868
|
internal: false,
|
|
@@ -4907,9 +4901,9 @@ export const IrrigationCCValues = Object.freeze({
|
|
|
4907
4901
|
};
|
|
4908
4902
|
}, {
|
|
4909
4903
|
is: (valueId) => {
|
|
4910
|
-
return valueId.commandClass === CommandClasses.Irrigation
|
|
4904
|
+
return (valueId.commandClass === CommandClasses.Irrigation
|
|
4911
4905
|
&& (({ property, propertyKey }) => (typeof property === "number" || property === "master")
|
|
4912
|
-
&& propertyKey === "startStop")(valueId);
|
|
4906
|
+
&& propertyKey === "startStop")(valueId));
|
|
4913
4907
|
},
|
|
4914
4908
|
options: {
|
|
4915
4909
|
internal: false,
|
|
@@ -4933,9 +4927,9 @@ export const LanguageCCValues = Object.freeze({
|
|
|
4933
4927
|
property: "language",
|
|
4934
4928
|
}),
|
|
4935
4929
|
is: (valueId) => {
|
|
4936
|
-
return valueId.commandClass === CommandClasses.Language
|
|
4930
|
+
return (valueId.commandClass === CommandClasses.Language
|
|
4937
4931
|
&& valueId.property === "language"
|
|
4938
|
-
&& valueId.propertyKey == undefined;
|
|
4932
|
+
&& valueId.propertyKey == undefined);
|
|
4939
4933
|
},
|
|
4940
4934
|
get meta() {
|
|
4941
4935
|
return {
|
|
@@ -4963,9 +4957,9 @@ export const LanguageCCValues = Object.freeze({
|
|
|
4963
4957
|
property: "country",
|
|
4964
4958
|
}),
|
|
4965
4959
|
is: (valueId) => {
|
|
4966
|
-
return valueId.commandClass === CommandClasses.Language
|
|
4960
|
+
return (valueId.commandClass === CommandClasses.Language
|
|
4967
4961
|
&& valueId.property === "country"
|
|
4968
|
-
&& valueId.propertyKey == undefined;
|
|
4962
|
+
&& valueId.propertyKey == undefined);
|
|
4969
4963
|
},
|
|
4970
4964
|
get meta() {
|
|
4971
4965
|
return {
|
|
@@ -4995,9 +4989,9 @@ export const LockCCValues = Object.freeze({
|
|
|
4995
4989
|
property: "locked",
|
|
4996
4990
|
}),
|
|
4997
4991
|
is: (valueId) => {
|
|
4998
|
-
return valueId.commandClass === CommandClasses.Lock
|
|
4992
|
+
return (valueId.commandClass === CommandClasses.Lock
|
|
4999
4993
|
&& valueId.property === "locked"
|
|
5000
|
-
&& valueId.propertyKey == undefined;
|
|
4994
|
+
&& valueId.propertyKey == undefined);
|
|
5001
4995
|
},
|
|
5002
4996
|
get meta() {
|
|
5003
4997
|
return {
|
|
@@ -5028,10 +5022,9 @@ export const ManufacturerSpecificCCValues = Object.freeze({
|
|
|
5028
5022
|
property: "manufacturerId",
|
|
5029
5023
|
}),
|
|
5030
5024
|
is: (valueId) => {
|
|
5031
|
-
return valueId.commandClass
|
|
5032
|
-
=== CommandClasses["Manufacturer Specific"]
|
|
5025
|
+
return (valueId.commandClass === CommandClasses["Manufacturer Specific"]
|
|
5033
5026
|
&& valueId.property === "manufacturerId"
|
|
5034
|
-
&& valueId.propertyKey == undefined;
|
|
5027
|
+
&& valueId.propertyKey == undefined);
|
|
5035
5028
|
},
|
|
5036
5029
|
get meta() {
|
|
5037
5030
|
return {
|
|
@@ -5059,10 +5052,9 @@ export const ManufacturerSpecificCCValues = Object.freeze({
|
|
|
5059
5052
|
property: "productType",
|
|
5060
5053
|
}),
|
|
5061
5054
|
is: (valueId) => {
|
|
5062
|
-
return valueId.commandClass
|
|
5063
|
-
=== CommandClasses["Manufacturer Specific"]
|
|
5055
|
+
return (valueId.commandClass === CommandClasses["Manufacturer Specific"]
|
|
5064
5056
|
&& valueId.property === "productType"
|
|
5065
|
-
&& valueId.propertyKey == undefined;
|
|
5057
|
+
&& valueId.propertyKey == undefined);
|
|
5066
5058
|
},
|
|
5067
5059
|
get meta() {
|
|
5068
5060
|
return {
|
|
@@ -5090,10 +5082,9 @@ export const ManufacturerSpecificCCValues = Object.freeze({
|
|
|
5090
5082
|
property: "productId",
|
|
5091
5083
|
}),
|
|
5092
5084
|
is: (valueId) => {
|
|
5093
|
-
return valueId.commandClass
|
|
5094
|
-
=== CommandClasses["Manufacturer Specific"]
|
|
5085
|
+
return (valueId.commandClass === CommandClasses["Manufacturer Specific"]
|
|
5095
5086
|
&& valueId.property === "productId"
|
|
5096
|
-
&& valueId.propertyKey == undefined;
|
|
5087
|
+
&& valueId.propertyKey == undefined);
|
|
5097
5088
|
},
|
|
5098
5089
|
get meta() {
|
|
5099
5090
|
return {
|
|
@@ -5134,11 +5125,11 @@ export const ManufacturerSpecificCCValues = Object.freeze({
|
|
|
5134
5125
|
};
|
|
5135
5126
|
}, {
|
|
5136
5127
|
is: (valueId) => {
|
|
5137
|
-
return valueId.commandClass
|
|
5128
|
+
return (valueId.commandClass
|
|
5138
5129
|
=== CommandClasses["Manufacturer Specific"]
|
|
5139
5130
|
&& (({ property, propertyKey }) => property === "deviceId"
|
|
5140
5131
|
&& typeof propertyKey === "string"
|
|
5141
|
-
&& propertyKey in DeviceIdType)(valueId);
|
|
5132
|
+
&& propertyKey in DeviceIdType)(valueId));
|
|
5142
5133
|
},
|
|
5143
5134
|
options: {
|
|
5144
5135
|
internal: false,
|
|
@@ -5162,9 +5153,9 @@ export const MeterCCValues = Object.freeze({
|
|
|
5162
5153
|
property: "type",
|
|
5163
5154
|
}),
|
|
5164
5155
|
is: (valueId) => {
|
|
5165
|
-
return valueId.commandClass === CommandClasses.Meter
|
|
5156
|
+
return (valueId.commandClass === CommandClasses.Meter
|
|
5166
5157
|
&& valueId.property === "type"
|
|
5167
|
-
&& valueId.propertyKey == undefined;
|
|
5158
|
+
&& valueId.propertyKey == undefined);
|
|
5168
5159
|
},
|
|
5169
5160
|
get meta() {
|
|
5170
5161
|
return ValueMetadata.Any;
|
|
@@ -5189,9 +5180,9 @@ export const MeterCCValues = Object.freeze({
|
|
|
5189
5180
|
property: "supportsReset",
|
|
5190
5181
|
}),
|
|
5191
5182
|
is: (valueId) => {
|
|
5192
|
-
return valueId.commandClass === CommandClasses.Meter
|
|
5183
|
+
return (valueId.commandClass === CommandClasses.Meter
|
|
5193
5184
|
&& valueId.property === "supportsReset"
|
|
5194
|
-
&& valueId.propertyKey == undefined;
|
|
5185
|
+
&& valueId.propertyKey == undefined);
|
|
5195
5186
|
},
|
|
5196
5187
|
get meta() {
|
|
5197
5188
|
return ValueMetadata.Any;
|
|
@@ -5216,9 +5207,9 @@ export const MeterCCValues = Object.freeze({
|
|
|
5216
5207
|
property: "supportedScales",
|
|
5217
5208
|
}),
|
|
5218
5209
|
is: (valueId) => {
|
|
5219
|
-
return valueId.commandClass === CommandClasses.Meter
|
|
5210
|
+
return (valueId.commandClass === CommandClasses.Meter
|
|
5220
5211
|
&& valueId.property === "supportedScales"
|
|
5221
|
-
&& valueId.propertyKey == undefined;
|
|
5212
|
+
&& valueId.propertyKey == undefined);
|
|
5222
5213
|
},
|
|
5223
5214
|
get meta() {
|
|
5224
5215
|
return ValueMetadata.Any;
|
|
@@ -5243,9 +5234,9 @@ export const MeterCCValues = Object.freeze({
|
|
|
5243
5234
|
property: "supportedRateTypes",
|
|
5244
5235
|
}),
|
|
5245
5236
|
is: (valueId) => {
|
|
5246
|
-
return valueId.commandClass === CommandClasses.Meter
|
|
5237
|
+
return (valueId.commandClass === CommandClasses.Meter
|
|
5247
5238
|
&& valueId.property === "supportedRateTypes"
|
|
5248
|
-
&& valueId.propertyKey == undefined;
|
|
5239
|
+
&& valueId.propertyKey == undefined);
|
|
5249
5240
|
},
|
|
5250
5241
|
get meta() {
|
|
5251
5242
|
return ValueMetadata.Any;
|
|
@@ -5270,9 +5261,9 @@ export const MeterCCValues = Object.freeze({
|
|
|
5270
5261
|
property: "reset",
|
|
5271
5262
|
}),
|
|
5272
5263
|
is: (valueId) => {
|
|
5273
|
-
return valueId.commandClass === CommandClasses.Meter
|
|
5264
|
+
return (valueId.commandClass === CommandClasses.Meter
|
|
5274
5265
|
&& valueId.property === "reset"
|
|
5275
|
-
&& valueId.propertyKey == undefined;
|
|
5266
|
+
&& valueId.propertyKey == undefined);
|
|
5276
5267
|
},
|
|
5277
5268
|
get meta() {
|
|
5278
5269
|
return {
|
|
@@ -5330,9 +5321,9 @@ export const MeterCCValues = Object.freeze({
|
|
|
5330
5321
|
};
|
|
5331
5322
|
}, {
|
|
5332
5323
|
is: (valueId) => {
|
|
5333
|
-
return valueId.commandClass === CommandClasses.Meter
|
|
5324
|
+
return (valueId.commandClass === CommandClasses.Meter
|
|
5334
5325
|
&& (({ property, propertyKey }) => property === "reset"
|
|
5335
|
-
&& typeof propertyKey === "number")(valueId);
|
|
5326
|
+
&& typeof propertyKey === "number")(valueId));
|
|
5336
5327
|
},
|
|
5337
5328
|
options: {
|
|
5338
5329
|
internal: false,
|
|
@@ -5372,9 +5363,9 @@ export const MeterCCValues = Object.freeze({
|
|
|
5372
5363
|
};
|
|
5373
5364
|
}, {
|
|
5374
5365
|
is: (valueId) => {
|
|
5375
|
-
return valueId.commandClass === CommandClasses.Meter
|
|
5366
|
+
return (valueId.commandClass === CommandClasses.Meter
|
|
5376
5367
|
&& (({ property, propertyKey }) => property === "value"
|
|
5377
|
-
&& typeof propertyKey === "number")(valueId);
|
|
5368
|
+
&& typeof propertyKey === "number")(valueId));
|
|
5378
5369
|
},
|
|
5379
5370
|
options: {
|
|
5380
5371
|
internal: false,
|
|
@@ -5398,10 +5389,10 @@ export const MultiChannelAssociationCCValues = Object.freeze({
|
|
|
5398
5389
|
property: "groupCount",
|
|
5399
5390
|
}),
|
|
5400
5391
|
is: (valueId) => {
|
|
5401
|
-
return valueId.commandClass
|
|
5392
|
+
return (valueId.commandClass
|
|
5402
5393
|
=== CommandClasses["Multi Channel Association"]
|
|
5403
5394
|
&& valueId.property === "groupCount"
|
|
5404
|
-
&& valueId.propertyKey == undefined;
|
|
5395
|
+
&& valueId.propertyKey == undefined);
|
|
5405
5396
|
},
|
|
5406
5397
|
get meta() {
|
|
5407
5398
|
return ValueMetadata.Any;
|
|
@@ -5436,10 +5427,10 @@ export const MultiChannelAssociationCCValues = Object.freeze({
|
|
|
5436
5427
|
};
|
|
5437
5428
|
}, {
|
|
5438
5429
|
is: (valueId) => {
|
|
5439
|
-
return valueId.commandClass
|
|
5430
|
+
return (valueId.commandClass
|
|
5440
5431
|
=== CommandClasses["Multi Channel Association"]
|
|
5441
5432
|
&& (({ property, propertyKey }) => property === "maxNodes"
|
|
5442
|
-
&& typeof propertyKey === "number")(valueId);
|
|
5433
|
+
&& typeof propertyKey === "number")(valueId));
|
|
5443
5434
|
},
|
|
5444
5435
|
options: {
|
|
5445
5436
|
internal: true,
|
|
@@ -5471,10 +5462,10 @@ export const MultiChannelAssociationCCValues = Object.freeze({
|
|
|
5471
5462
|
};
|
|
5472
5463
|
}, {
|
|
5473
5464
|
is: (valueId) => {
|
|
5474
|
-
return valueId.commandClass
|
|
5465
|
+
return (valueId.commandClass
|
|
5475
5466
|
=== CommandClasses["Multi Channel Association"]
|
|
5476
5467
|
&& (({ property, propertyKey }) => property === "nodeIds"
|
|
5477
|
-
&& typeof propertyKey === "number")(valueId);
|
|
5468
|
+
&& typeof propertyKey === "number")(valueId));
|
|
5478
5469
|
},
|
|
5479
5470
|
options: {
|
|
5480
5471
|
internal: true,
|
|
@@ -5506,10 +5497,10 @@ export const MultiChannelAssociationCCValues = Object.freeze({
|
|
|
5506
5497
|
};
|
|
5507
5498
|
}, {
|
|
5508
5499
|
is: (valueId) => {
|
|
5509
|
-
return valueId.commandClass
|
|
5500
|
+
return (valueId.commandClass
|
|
5510
5501
|
=== CommandClasses["Multi Channel Association"]
|
|
5511
5502
|
&& (({ property, propertyKey }) => property === "endpoints"
|
|
5512
|
-
&& typeof propertyKey === "number")(valueId);
|
|
5503
|
+
&& typeof propertyKey === "number")(valueId));
|
|
5513
5504
|
},
|
|
5514
5505
|
options: {
|
|
5515
5506
|
internal: true,
|
|
@@ -5533,9 +5524,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5533
5524
|
property: "endpointIndizes",
|
|
5534
5525
|
}),
|
|
5535
5526
|
is: (valueId) => {
|
|
5536
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5527
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5537
5528
|
&& valueId.property === "endpointIndizes"
|
|
5538
|
-
&& valueId.propertyKey == undefined;
|
|
5529
|
+
&& valueId.propertyKey == undefined);
|
|
5539
5530
|
},
|
|
5540
5531
|
get meta() {
|
|
5541
5532
|
return ValueMetadata.Any;
|
|
@@ -5560,9 +5551,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5560
5551
|
property: "individualCount",
|
|
5561
5552
|
}),
|
|
5562
5553
|
is: (valueId) => {
|
|
5563
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5554
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5564
5555
|
&& valueId.property === "individualCount"
|
|
5565
|
-
&& valueId.propertyKey == undefined;
|
|
5556
|
+
&& valueId.propertyKey == undefined);
|
|
5566
5557
|
},
|
|
5567
5558
|
get meta() {
|
|
5568
5559
|
return ValueMetadata.Any;
|
|
@@ -5587,9 +5578,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5587
5578
|
property: "aggregatedCount",
|
|
5588
5579
|
}),
|
|
5589
5580
|
is: (valueId) => {
|
|
5590
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5581
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5591
5582
|
&& valueId.property === "aggregatedCount"
|
|
5592
|
-
&& valueId.propertyKey == undefined;
|
|
5583
|
+
&& valueId.propertyKey == undefined);
|
|
5593
5584
|
},
|
|
5594
5585
|
get meta() {
|
|
5595
5586
|
return ValueMetadata.Any;
|
|
@@ -5614,9 +5605,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5614
5605
|
property: "countIsDynamic",
|
|
5615
5606
|
}),
|
|
5616
5607
|
is: (valueId) => {
|
|
5617
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5608
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5618
5609
|
&& valueId.property === "countIsDynamic"
|
|
5619
|
-
&& valueId.propertyKey == undefined;
|
|
5610
|
+
&& valueId.propertyKey == undefined);
|
|
5620
5611
|
},
|
|
5621
5612
|
get meta() {
|
|
5622
5613
|
return ValueMetadata.Any;
|
|
@@ -5641,9 +5632,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5641
5632
|
property: "identicalCapabilities",
|
|
5642
5633
|
}),
|
|
5643
5634
|
is: (valueId) => {
|
|
5644
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5635
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5645
5636
|
&& valueId.property === "identicalCapabilities"
|
|
5646
|
-
&& valueId.propertyKey == undefined;
|
|
5637
|
+
&& valueId.propertyKey == undefined);
|
|
5647
5638
|
},
|
|
5648
5639
|
get meta() {
|
|
5649
5640
|
return ValueMetadata.Any;
|
|
@@ -5668,9 +5659,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5668
5659
|
property: "commandClasses",
|
|
5669
5660
|
}),
|
|
5670
5661
|
is: (valueId) => {
|
|
5671
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5662
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5672
5663
|
&& valueId.property === "commandClasses"
|
|
5673
|
-
&& valueId.propertyKey == undefined;
|
|
5664
|
+
&& valueId.propertyKey == undefined);
|
|
5674
5665
|
},
|
|
5675
5666
|
get meta() {
|
|
5676
5667
|
return ValueMetadata.Any;
|
|
@@ -5695,9 +5686,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5695
5686
|
property: "deviceClass",
|
|
5696
5687
|
}),
|
|
5697
5688
|
is: (valueId) => {
|
|
5698
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5689
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5699
5690
|
&& valueId.property === "deviceClass"
|
|
5700
|
-
&& valueId.propertyKey == undefined;
|
|
5691
|
+
&& valueId.propertyKey == undefined);
|
|
5701
5692
|
},
|
|
5702
5693
|
get meta() {
|
|
5703
5694
|
return ValueMetadata.Any;
|
|
@@ -5732,9 +5723,9 @@ export const MultiChannelCCValues = Object.freeze({
|
|
|
5732
5723
|
};
|
|
5733
5724
|
}, {
|
|
5734
5725
|
is: (valueId) => {
|
|
5735
|
-
return valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5726
|
+
return (valueId.commandClass === CommandClasses["Multi Channel"]
|
|
5736
5727
|
&& (({ property, propertyKey }) => property === "members"
|
|
5737
|
-
&& typeof propertyKey === "number")(valueId);
|
|
5728
|
+
&& typeof propertyKey === "number")(valueId));
|
|
5738
5729
|
},
|
|
5739
5730
|
options: {
|
|
5740
5731
|
internal: true,
|
|
@@ -5758,9 +5749,9 @@ export const MultilevelSensorCCValues = Object.freeze({
|
|
|
5758
5749
|
property: "supportedSensorTypes",
|
|
5759
5750
|
}),
|
|
5760
5751
|
is: (valueId) => {
|
|
5761
|
-
return valueId.commandClass === CommandClasses["Multilevel Sensor"]
|
|
5752
|
+
return (valueId.commandClass === CommandClasses["Multilevel Sensor"]
|
|
5762
5753
|
&& valueId.property === "supportedSensorTypes"
|
|
5763
|
-
&& valueId.propertyKey == undefined;
|
|
5754
|
+
&& valueId.propertyKey == undefined);
|
|
5764
5755
|
},
|
|
5765
5756
|
get meta() {
|
|
5766
5757
|
return ValueMetadata.Any;
|
|
@@ -5795,10 +5786,9 @@ export const MultilevelSensorCCValues = Object.freeze({
|
|
|
5795
5786
|
};
|
|
5796
5787
|
}, {
|
|
5797
5788
|
is: (valueId) => {
|
|
5798
|
-
return valueId.commandClass
|
|
5799
|
-
=== CommandClasses["Multilevel Sensor"]
|
|
5789
|
+
return (valueId.commandClass === CommandClasses["Multilevel Sensor"]
|
|
5800
5790
|
&& (({ property, propertyKey }) => property === "supportedScales"
|
|
5801
|
-
&& typeof propertyKey === "number")(valueId);
|
|
5791
|
+
&& typeof propertyKey === "number")(valueId));
|
|
5802
5792
|
},
|
|
5803
5793
|
options: {
|
|
5804
5794
|
internal: true,
|
|
@@ -5831,12 +5821,11 @@ export const MultilevelSensorCCValues = Object.freeze({
|
|
|
5831
5821
|
};
|
|
5832
5822
|
}, {
|
|
5833
5823
|
is: (valueId) => {
|
|
5834
|
-
return valueId.commandClass
|
|
5835
|
-
=== CommandClasses["Multilevel Sensor"]
|
|
5824
|
+
return (valueId.commandClass === CommandClasses["Multilevel Sensor"]
|
|
5836
5825
|
&& (({ property, propertyKey }) => typeof property === "string"
|
|
5837
5826
|
&& property !== "supportedSensorTypes"
|
|
5838
5827
|
&& property !== "supportedScales"
|
|
5839
|
-
&& propertyKey == undefined)(valueId);
|
|
5828
|
+
&& propertyKey == undefined)(valueId));
|
|
5840
5829
|
},
|
|
5841
5830
|
options: {
|
|
5842
5831
|
internal: false,
|
|
@@ -5860,9 +5849,9 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
5860
5849
|
property: "currentValue",
|
|
5861
5850
|
}),
|
|
5862
5851
|
is: (valueId) => {
|
|
5863
|
-
return valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5852
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5864
5853
|
&& valueId.property === "currentValue"
|
|
5865
|
-
&& valueId.propertyKey == undefined;
|
|
5854
|
+
&& valueId.propertyKey == undefined);
|
|
5866
5855
|
},
|
|
5867
5856
|
get meta() {
|
|
5868
5857
|
return {
|
|
@@ -5890,9 +5879,9 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
5890
5879
|
property: "targetValue",
|
|
5891
5880
|
}),
|
|
5892
5881
|
is: (valueId) => {
|
|
5893
|
-
return valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5882
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5894
5883
|
&& valueId.property === "targetValue"
|
|
5895
|
-
&& valueId.propertyKey == undefined;
|
|
5884
|
+
&& valueId.propertyKey == undefined);
|
|
5896
5885
|
},
|
|
5897
5886
|
get meta() {
|
|
5898
5887
|
return {
|
|
@@ -5921,9 +5910,9 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
5921
5910
|
property: "duration",
|
|
5922
5911
|
}),
|
|
5923
5912
|
is: (valueId) => {
|
|
5924
|
-
return valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5913
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5925
5914
|
&& valueId.property === "duration"
|
|
5926
|
-
&& valueId.propertyKey == undefined;
|
|
5915
|
+
&& valueId.propertyKey == undefined);
|
|
5927
5916
|
},
|
|
5928
5917
|
get meta() {
|
|
5929
5918
|
return {
|
|
@@ -5951,9 +5940,9 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
5951
5940
|
property: "restorePrevious",
|
|
5952
5941
|
}),
|
|
5953
5942
|
is: (valueId) => {
|
|
5954
|
-
return valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5943
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5955
5944
|
&& valueId.property === "restorePrevious"
|
|
5956
|
-
&& valueId.propertyKey == undefined;
|
|
5945
|
+
&& valueId.propertyKey == undefined);
|
|
5957
5946
|
},
|
|
5958
5947
|
get meta() {
|
|
5959
5948
|
return {
|
|
@@ -5984,9 +5973,9 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
5984
5973
|
property: "event",
|
|
5985
5974
|
}),
|
|
5986
5975
|
is: (valueId) => {
|
|
5987
|
-
return valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5976
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
5988
5977
|
&& valueId.property === "event"
|
|
5989
|
-
&& valueId.propertyKey == undefined;
|
|
5978
|
+
&& valueId.propertyKey == undefined);
|
|
5990
5979
|
},
|
|
5991
5980
|
get meta() {
|
|
5992
5981
|
return {
|
|
@@ -6015,9 +6004,9 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
6015
6004
|
property: "switchType",
|
|
6016
6005
|
}),
|
|
6017
6006
|
is: (valueId) => {
|
|
6018
|
-
return valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
6007
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
6019
6008
|
&& valueId.property === "switchType"
|
|
6020
|
-
&& valueId.propertyKey == undefined;
|
|
6009
|
+
&& valueId.propertyKey == undefined);
|
|
6021
6010
|
},
|
|
6022
6011
|
get meta() {
|
|
6023
6012
|
return ValueMetadata.Any;
|
|
@@ -6042,9 +6031,9 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
6042
6031
|
property: "superviseStartStopLevelChange",
|
|
6043
6032
|
}),
|
|
6044
6033
|
is: (valueId) => {
|
|
6045
|
-
return valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
6034
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
6046
6035
|
&& valueId.property === "superviseStartStopLevelChange"
|
|
6047
|
-
&& valueId.propertyKey == undefined;
|
|
6036
|
+
&& valueId.propertyKey == undefined);
|
|
6048
6037
|
},
|
|
6049
6038
|
get meta() {
|
|
6050
6039
|
return ValueMetadata.Any;
|
|
@@ -6093,11 +6082,10 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
6093
6082
|
};
|
|
6094
6083
|
}, {
|
|
6095
6084
|
is: (valueId) => {
|
|
6096
|
-
return valueId.commandClass
|
|
6097
|
-
=== CommandClasses["Multilevel Switch"]
|
|
6085
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
6098
6086
|
&& (({ property }) => typeof property === "string"
|
|
6099
6087
|
&& multilevelSwitchTypeProperties.indexOf(property) % 2
|
|
6100
|
-
=== 1)(valueId);
|
|
6088
|
+
=== 1)(valueId));
|
|
6101
6089
|
},
|
|
6102
6090
|
options: {
|
|
6103
6091
|
internal: false,
|
|
@@ -6143,11 +6131,10 @@ export const MultilevelSwitchCCValues = Object.freeze({
|
|
|
6143
6131
|
};
|
|
6144
6132
|
}, {
|
|
6145
6133
|
is: (valueId) => {
|
|
6146
|
-
return valueId.commandClass
|
|
6147
|
-
=== CommandClasses["Multilevel Switch"]
|
|
6134
|
+
return (valueId.commandClass === CommandClasses["Multilevel Switch"]
|
|
6148
6135
|
&& (({ property }) => typeof property === "string"
|
|
6149
6136
|
&& multilevelSwitchTypeProperties.indexOf(property) % 2
|
|
6150
|
-
=== 0)(valueId);
|
|
6137
|
+
=== 0)(valueId));
|
|
6151
6138
|
},
|
|
6152
6139
|
options: {
|
|
6153
6140
|
internal: false,
|
|
@@ -6171,10 +6158,10 @@ export const NodeNamingAndLocationCCValues = Object.freeze({
|
|
|
6171
6158
|
property: "name",
|
|
6172
6159
|
}),
|
|
6173
6160
|
is: (valueId) => {
|
|
6174
|
-
return valueId.commandClass
|
|
6161
|
+
return (valueId.commandClass
|
|
6175
6162
|
=== CommandClasses["Node Naming and Location"]
|
|
6176
6163
|
&& valueId.property === "name"
|
|
6177
|
-
&& valueId.propertyKey == undefined;
|
|
6164
|
+
&& valueId.propertyKey == undefined);
|
|
6178
6165
|
},
|
|
6179
6166
|
get meta() {
|
|
6180
6167
|
return {
|
|
@@ -6202,10 +6189,10 @@ export const NodeNamingAndLocationCCValues = Object.freeze({
|
|
|
6202
6189
|
property: "location",
|
|
6203
6190
|
}),
|
|
6204
6191
|
is: (valueId) => {
|
|
6205
|
-
return valueId.commandClass
|
|
6192
|
+
return (valueId.commandClass
|
|
6206
6193
|
=== CommandClasses["Node Naming and Location"]
|
|
6207
6194
|
&& valueId.property === "location"
|
|
6208
|
-
&& valueId.propertyKey == undefined;
|
|
6195
|
+
&& valueId.propertyKey == undefined);
|
|
6209
6196
|
},
|
|
6210
6197
|
get meta() {
|
|
6211
6198
|
return {
|
|
@@ -6235,9 +6222,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6235
6222
|
property: "supportsV1Alarm",
|
|
6236
6223
|
}),
|
|
6237
6224
|
is: (valueId) => {
|
|
6238
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6225
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6239
6226
|
&& valueId.property === "supportsV1Alarm"
|
|
6240
|
-
&& valueId.propertyKey == undefined;
|
|
6227
|
+
&& valueId.propertyKey == undefined);
|
|
6241
6228
|
},
|
|
6242
6229
|
get meta() {
|
|
6243
6230
|
return ValueMetadata.Any;
|
|
@@ -6262,9 +6249,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6262
6249
|
property: "supportedNotificationTypes",
|
|
6263
6250
|
}),
|
|
6264
6251
|
is: (valueId) => {
|
|
6265
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6252
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6266
6253
|
&& valueId.property === "supportedNotificationTypes"
|
|
6267
|
-
&& valueId.propertyKey == undefined;
|
|
6254
|
+
&& valueId.propertyKey == undefined);
|
|
6268
6255
|
},
|
|
6269
6256
|
get meta() {
|
|
6270
6257
|
return ValueMetadata.Any;
|
|
@@ -6289,9 +6276,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6289
6276
|
property: "notificationMode",
|
|
6290
6277
|
}),
|
|
6291
6278
|
is: (valueId) => {
|
|
6292
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6279
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6293
6280
|
&& valueId.property === "notificationMode"
|
|
6294
|
-
&& valueId.propertyKey == undefined;
|
|
6281
|
+
&& valueId.propertyKey == undefined);
|
|
6295
6282
|
},
|
|
6296
6283
|
get meta() {
|
|
6297
6284
|
return ValueMetadata.Any;
|
|
@@ -6316,9 +6303,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6316
6303
|
property: "lastRefresh",
|
|
6317
6304
|
}),
|
|
6318
6305
|
is: (valueId) => {
|
|
6319
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6306
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6320
6307
|
&& valueId.property === "lastRefresh"
|
|
6321
|
-
&& valueId.propertyKey == undefined;
|
|
6308
|
+
&& valueId.propertyKey == undefined);
|
|
6322
6309
|
},
|
|
6323
6310
|
get meta() {
|
|
6324
6311
|
return ValueMetadata.Any;
|
|
@@ -6343,9 +6330,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6343
6330
|
property: "alarmType",
|
|
6344
6331
|
}),
|
|
6345
6332
|
is: (valueId) => {
|
|
6346
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6333
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6347
6334
|
&& valueId.property === "alarmType"
|
|
6348
|
-
&& valueId.propertyKey == undefined;
|
|
6335
|
+
&& valueId.propertyKey == undefined);
|
|
6349
6336
|
},
|
|
6350
6337
|
get meta() {
|
|
6351
6338
|
return {
|
|
@@ -6373,9 +6360,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6373
6360
|
property: "alarmLevel",
|
|
6374
6361
|
}),
|
|
6375
6362
|
is: (valueId) => {
|
|
6376
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6363
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6377
6364
|
&& valueId.property === "alarmLevel"
|
|
6378
|
-
&& valueId.propertyKey == undefined;
|
|
6365
|
+
&& valueId.propertyKey == undefined);
|
|
6379
6366
|
},
|
|
6380
6367
|
get meta() {
|
|
6381
6368
|
return {
|
|
@@ -6405,9 +6392,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6405
6392
|
propertyKey: "Opening state",
|
|
6406
6393
|
}),
|
|
6407
6394
|
is: (valueId) => {
|
|
6408
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6395
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6409
6396
|
&& valueId.property === "Access Control"
|
|
6410
|
-
&& valueId.propertyKey == "Opening state";
|
|
6397
|
+
&& valueId.propertyKey == "Opening state");
|
|
6411
6398
|
},
|
|
6412
6399
|
get meta() {
|
|
6413
6400
|
return {
|
|
@@ -6445,9 +6432,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6445
6432
|
propertyKey: "Door state (simple)",
|
|
6446
6433
|
}),
|
|
6447
6434
|
is: (valueId) => {
|
|
6448
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6435
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6449
6436
|
&& valueId.property === "Access Control"
|
|
6450
|
-
&& valueId.propertyKey == "Door state (simple)";
|
|
6437
|
+
&& valueId.propertyKey == "Door state (simple)");
|
|
6451
6438
|
},
|
|
6452
6439
|
get meta() {
|
|
6453
6440
|
return {
|
|
@@ -6485,9 +6472,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6485
6472
|
propertyKey: "Door tilt state",
|
|
6486
6473
|
}),
|
|
6487
6474
|
is: (valueId) => {
|
|
6488
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6475
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6489
6476
|
&& valueId.property === "Access Control"
|
|
6490
|
-
&& valueId.propertyKey == "Door tilt state";
|
|
6477
|
+
&& valueId.propertyKey == "Door tilt state");
|
|
6491
6478
|
},
|
|
6492
6479
|
get meta() {
|
|
6493
6480
|
return {
|
|
@@ -6533,9 +6520,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6533
6520
|
};
|
|
6534
6521
|
}, {
|
|
6535
6522
|
is: (valueId) => {
|
|
6536
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6523
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6537
6524
|
&& (({ property, propertyKey }) => property === "supportedNotificationEvents"
|
|
6538
|
-
&& typeof propertyKey === "number")(valueId);
|
|
6525
|
+
&& typeof propertyKey === "number")(valueId));
|
|
6539
6526
|
},
|
|
6540
6527
|
options: {
|
|
6541
6528
|
internal: true,
|
|
@@ -6568,9 +6555,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6568
6555
|
};
|
|
6569
6556
|
}, {
|
|
6570
6557
|
is: (valueId) => {
|
|
6571
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6558
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6572
6559
|
&& (({ property }) => typeof property === "string"
|
|
6573
|
-
&& property.startsWith("UNKNOWN_0x"))(valueId);
|
|
6560
|
+
&& property.startsWith("UNKNOWN_0x"))(valueId));
|
|
6574
6561
|
},
|
|
6575
6562
|
options: {
|
|
6576
6563
|
internal: false,
|
|
@@ -6606,9 +6593,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6606
6593
|
};
|
|
6607
6594
|
}, {
|
|
6608
6595
|
is: (valueId) => {
|
|
6609
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6596
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6610
6597
|
&& (({ property, propertyKey }) => typeof property === "string"
|
|
6611
|
-
&& propertyKey === "unknown")(valueId);
|
|
6598
|
+
&& propertyKey === "unknown")(valueId));
|
|
6612
6599
|
},
|
|
6613
6600
|
options: {
|
|
6614
6601
|
internal: false,
|
|
@@ -6640,9 +6627,9 @@ export const NotificationCCValues = Object.freeze({
|
|
|
6640
6627
|
};
|
|
6641
6628
|
}, {
|
|
6642
6629
|
is: (valueId) => {
|
|
6643
|
-
return valueId.commandClass === CommandClasses.Notification
|
|
6630
|
+
return (valueId.commandClass === CommandClasses.Notification
|
|
6644
6631
|
&& (({ property, propertyKey }) => typeof property === "string"
|
|
6645
|
-
&& typeof propertyKey === "string")(valueId);
|
|
6632
|
+
&& typeof propertyKey === "string")(valueId));
|
|
6646
6633
|
},
|
|
6647
6634
|
options: {
|
|
6648
6635
|
internal: false,
|
|
@@ -6682,9 +6669,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6682
6669
|
property: "exclusiveControlNodeId",
|
|
6683
6670
|
}),
|
|
6684
6671
|
is: (valueId) => {
|
|
6685
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6672
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6686
6673
|
&& valueId.property === "exclusiveControlNodeId"
|
|
6687
|
-
&& valueId.propertyKey == undefined;
|
|
6674
|
+
&& valueId.propertyKey == undefined);
|
|
6688
6675
|
},
|
|
6689
6676
|
get meta() {
|
|
6690
6677
|
return {
|
|
@@ -6714,9 +6701,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6714
6701
|
property: "local",
|
|
6715
6702
|
}),
|
|
6716
6703
|
is: (valueId) => {
|
|
6717
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6704
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6718
6705
|
&& valueId.property === "local"
|
|
6719
|
-
&& valueId.propertyKey == undefined;
|
|
6706
|
+
&& valueId.propertyKey == undefined);
|
|
6720
6707
|
},
|
|
6721
6708
|
get meta() {
|
|
6722
6709
|
return {
|
|
@@ -6745,9 +6732,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6745
6732
|
property: "rf",
|
|
6746
6733
|
}),
|
|
6747
6734
|
is: (valueId) => {
|
|
6748
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6735
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6749
6736
|
&& valueId.property === "rf"
|
|
6750
|
-
&& valueId.propertyKey == undefined;
|
|
6737
|
+
&& valueId.propertyKey == undefined);
|
|
6751
6738
|
},
|
|
6752
6739
|
get meta() {
|
|
6753
6740
|
return {
|
|
@@ -6776,9 +6763,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6776
6763
|
property: "timeout",
|
|
6777
6764
|
}),
|
|
6778
6765
|
is: (valueId) => {
|
|
6779
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6766
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6780
6767
|
&& valueId.property === "timeout"
|
|
6781
|
-
&& valueId.propertyKey == undefined;
|
|
6768
|
+
&& valueId.propertyKey == undefined);
|
|
6782
6769
|
},
|
|
6783
6770
|
get meta() {
|
|
6784
6771
|
return {
|
|
@@ -6806,9 +6793,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6806
6793
|
property: "supportsExclusiveControl",
|
|
6807
6794
|
}),
|
|
6808
6795
|
is: (valueId) => {
|
|
6809
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6796
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6810
6797
|
&& valueId.property === "supportsExclusiveControl"
|
|
6811
|
-
&& valueId.propertyKey == undefined;
|
|
6798
|
+
&& valueId.propertyKey == undefined);
|
|
6812
6799
|
},
|
|
6813
6800
|
get meta() {
|
|
6814
6801
|
return ValueMetadata.Any;
|
|
@@ -6833,9 +6820,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6833
6820
|
property: "supportsTimeout",
|
|
6834
6821
|
}),
|
|
6835
6822
|
is: (valueId) => {
|
|
6836
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6823
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6837
6824
|
&& valueId.property === "supportsTimeout"
|
|
6838
|
-
&& valueId.propertyKey == undefined;
|
|
6825
|
+
&& valueId.propertyKey == undefined);
|
|
6839
6826
|
},
|
|
6840
6827
|
get meta() {
|
|
6841
6828
|
return ValueMetadata.Any;
|
|
@@ -6860,9 +6847,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6860
6847
|
property: "supportedLocalStates",
|
|
6861
6848
|
}),
|
|
6862
6849
|
is: (valueId) => {
|
|
6863
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6850
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6864
6851
|
&& valueId.property === "supportedLocalStates"
|
|
6865
|
-
&& valueId.propertyKey == undefined;
|
|
6852
|
+
&& valueId.propertyKey == undefined);
|
|
6866
6853
|
},
|
|
6867
6854
|
get meta() {
|
|
6868
6855
|
return ValueMetadata.Any;
|
|
@@ -6887,9 +6874,9 @@ export const ProtectionCCValues = Object.freeze({
|
|
|
6887
6874
|
property: "supportedRFStates",
|
|
6888
6875
|
}),
|
|
6889
6876
|
is: (valueId) => {
|
|
6890
|
-
return valueId.commandClass === CommandClasses.Protection
|
|
6877
|
+
return (valueId.commandClass === CommandClasses.Protection
|
|
6891
6878
|
&& valueId.property === "supportedRFStates"
|
|
6892
|
-
&& valueId.propertyKey == undefined;
|
|
6879
|
+
&& valueId.propertyKey == undefined);
|
|
6893
6880
|
},
|
|
6894
6881
|
get meta() {
|
|
6895
6882
|
return ValueMetadata.Any;
|
|
@@ -6916,9 +6903,9 @@ export const SceneActivationCCValues = Object.freeze({
|
|
|
6916
6903
|
property: "sceneId",
|
|
6917
6904
|
}),
|
|
6918
6905
|
is: (valueId) => {
|
|
6919
|
-
return valueId.commandClass === CommandClasses["Scene Activation"]
|
|
6906
|
+
return (valueId.commandClass === CommandClasses["Scene Activation"]
|
|
6920
6907
|
&& valueId.property === "sceneId"
|
|
6921
|
-
&& valueId.propertyKey == undefined;
|
|
6908
|
+
&& valueId.propertyKey == undefined);
|
|
6922
6909
|
},
|
|
6923
6910
|
get meta() {
|
|
6924
6911
|
return {
|
|
@@ -6948,9 +6935,9 @@ export const SceneActivationCCValues = Object.freeze({
|
|
|
6948
6935
|
property: "dimmingDuration",
|
|
6949
6936
|
}),
|
|
6950
6937
|
is: (valueId) => {
|
|
6951
|
-
return valueId.commandClass === CommandClasses["Scene Activation"]
|
|
6938
|
+
return (valueId.commandClass === CommandClasses["Scene Activation"]
|
|
6952
6939
|
&& valueId.property === "dimmingDuration"
|
|
6953
|
-
&& valueId.propertyKey == undefined;
|
|
6940
|
+
&& valueId.propertyKey == undefined);
|
|
6954
6941
|
},
|
|
6955
6942
|
get meta() {
|
|
6956
6943
|
return {
|
|
@@ -6994,10 +6981,10 @@ export const SceneActuatorConfigurationCCValues = Object.freeze({
|
|
|
6994
6981
|
};
|
|
6995
6982
|
}, {
|
|
6996
6983
|
is: (valueId) => {
|
|
6997
|
-
return valueId.commandClass
|
|
6984
|
+
return (valueId.commandClass
|
|
6998
6985
|
=== CommandClasses["Scene Actuator Configuration"]
|
|
6999
6986
|
&& (({ property, propertyKey }) => property === "level"
|
|
7000
|
-
&& typeof propertyKey === "number")(valueId);
|
|
6987
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7001
6988
|
},
|
|
7002
6989
|
options: {
|
|
7003
6990
|
internal: false,
|
|
@@ -7032,10 +7019,10 @@ export const SceneActuatorConfigurationCCValues = Object.freeze({
|
|
|
7032
7019
|
};
|
|
7033
7020
|
}, {
|
|
7034
7021
|
is: (valueId) => {
|
|
7035
|
-
return valueId.commandClass
|
|
7022
|
+
return (valueId.commandClass
|
|
7036
7023
|
=== CommandClasses["Scene Actuator Configuration"]
|
|
7037
7024
|
&& (({ property, propertyKey }) => property === "dimmingDuration"
|
|
7038
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7025
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7039
7026
|
},
|
|
7040
7027
|
options: {
|
|
7041
7028
|
internal: false,
|
|
@@ -7073,10 +7060,10 @@ export const SceneControllerConfigurationCCValues = Object.freeze({
|
|
|
7073
7060
|
};
|
|
7074
7061
|
}, {
|
|
7075
7062
|
is: (valueId) => {
|
|
7076
|
-
return valueId.commandClass
|
|
7063
|
+
return (valueId.commandClass
|
|
7077
7064
|
=== CommandClasses["Scene Controller Configuration"]
|
|
7078
7065
|
&& (({ property, propertyKey }) => property === "sceneId"
|
|
7079
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7066
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7080
7067
|
},
|
|
7081
7068
|
options: {
|
|
7082
7069
|
internal: false,
|
|
@@ -7111,10 +7098,10 @@ export const SceneControllerConfigurationCCValues = Object.freeze({
|
|
|
7111
7098
|
};
|
|
7112
7099
|
}, {
|
|
7113
7100
|
is: (valueId) => {
|
|
7114
|
-
return valueId.commandClass
|
|
7101
|
+
return (valueId.commandClass
|
|
7115
7102
|
=== CommandClasses["Scene Controller Configuration"]
|
|
7116
7103
|
&& (({ property, propertyKey }) => property === "dimmingDuration"
|
|
7117
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7104
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7118
7105
|
},
|
|
7119
7106
|
options: {
|
|
7120
7107
|
internal: false,
|
|
@@ -7138,10 +7125,9 @@ export const ScheduleEntryLockCCValues = Object.freeze({
|
|
|
7138
7125
|
property: "numWeekDaySlots",
|
|
7139
7126
|
}),
|
|
7140
7127
|
is: (valueId) => {
|
|
7141
|
-
return valueId.commandClass
|
|
7142
|
-
=== CommandClasses["Schedule Entry Lock"]
|
|
7128
|
+
return (valueId.commandClass === CommandClasses["Schedule Entry Lock"]
|
|
7143
7129
|
&& valueId.property === "numWeekDaySlots"
|
|
7144
|
-
&& valueId.propertyKey == undefined;
|
|
7130
|
+
&& valueId.propertyKey == undefined);
|
|
7145
7131
|
},
|
|
7146
7132
|
get meta() {
|
|
7147
7133
|
return ValueMetadata.Any;
|
|
@@ -7166,10 +7152,9 @@ export const ScheduleEntryLockCCValues = Object.freeze({
|
|
|
7166
7152
|
property: "numYearDaySlots",
|
|
7167
7153
|
}),
|
|
7168
7154
|
is: (valueId) => {
|
|
7169
|
-
return valueId.commandClass
|
|
7170
|
-
=== CommandClasses["Schedule Entry Lock"]
|
|
7155
|
+
return (valueId.commandClass === CommandClasses["Schedule Entry Lock"]
|
|
7171
7156
|
&& valueId.property === "numYearDaySlots"
|
|
7172
|
-
&& valueId.propertyKey == undefined;
|
|
7157
|
+
&& valueId.propertyKey == undefined);
|
|
7173
7158
|
},
|
|
7174
7159
|
get meta() {
|
|
7175
7160
|
return ValueMetadata.Any;
|
|
@@ -7194,10 +7179,9 @@ export const ScheduleEntryLockCCValues = Object.freeze({
|
|
|
7194
7179
|
property: "numDailyRepeatingSlots",
|
|
7195
7180
|
}),
|
|
7196
7181
|
is: (valueId) => {
|
|
7197
|
-
return valueId.commandClass
|
|
7198
|
-
=== CommandClasses["Schedule Entry Lock"]
|
|
7182
|
+
return (valueId.commandClass === CommandClasses["Schedule Entry Lock"]
|
|
7199
7183
|
&& valueId.property === "numDailyRepeatingSlots"
|
|
7200
|
-
&& valueId.propertyKey == undefined;
|
|
7184
|
+
&& valueId.propertyKey == undefined);
|
|
7201
7185
|
},
|
|
7202
7186
|
get meta() {
|
|
7203
7187
|
return ValueMetadata.Any;
|
|
@@ -7232,10 +7216,10 @@ export const ScheduleEntryLockCCValues = Object.freeze({
|
|
|
7232
7216
|
};
|
|
7233
7217
|
}, {
|
|
7234
7218
|
is: (valueId) => {
|
|
7235
|
-
return valueId.commandClass
|
|
7219
|
+
return (valueId.commandClass
|
|
7236
7220
|
=== CommandClasses["Schedule Entry Lock"]
|
|
7237
7221
|
&& (({ property, propertyKey }) => property === "userEnabled"
|
|
7238
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7222
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7239
7223
|
},
|
|
7240
7224
|
options: {
|
|
7241
7225
|
internal: true,
|
|
@@ -7267,10 +7251,10 @@ export const ScheduleEntryLockCCValues = Object.freeze({
|
|
|
7267
7251
|
};
|
|
7268
7252
|
}, {
|
|
7269
7253
|
is: (valueId) => {
|
|
7270
|
-
return valueId.commandClass
|
|
7254
|
+
return (valueId.commandClass
|
|
7271
7255
|
=== CommandClasses["Schedule Entry Lock"]
|
|
7272
7256
|
&& (({ property, propertyKey }) => property === "scheduleKind"
|
|
7273
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7257
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7274
7258
|
},
|
|
7275
7259
|
options: {
|
|
7276
7260
|
internal: true,
|
|
@@ -7302,10 +7286,10 @@ export const ScheduleEntryLockCCValues = Object.freeze({
|
|
|
7302
7286
|
};
|
|
7303
7287
|
}, {
|
|
7304
7288
|
is: (valueId) => {
|
|
7305
|
-
return valueId.commandClass
|
|
7289
|
+
return (valueId.commandClass
|
|
7306
7290
|
=== CommandClasses["Schedule Entry Lock"]
|
|
7307
7291
|
&& (({ property, propertyKey }) => property === "schedule"
|
|
7308
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7292
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7309
7293
|
},
|
|
7310
7294
|
options: {
|
|
7311
7295
|
internal: true,
|
|
@@ -7329,9 +7313,9 @@ export const SoundSwitchCCValues = Object.freeze({
|
|
|
7329
7313
|
property: "volume",
|
|
7330
7314
|
}),
|
|
7331
7315
|
is: (valueId) => {
|
|
7332
|
-
return valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7316
|
+
return (valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7333
7317
|
&& valueId.property === "volume"
|
|
7334
|
-
&& valueId.propertyKey == undefined;
|
|
7318
|
+
&& valueId.propertyKey == undefined);
|
|
7335
7319
|
},
|
|
7336
7320
|
get meta() {
|
|
7337
7321
|
return {
|
|
@@ -7366,9 +7350,9 @@ export const SoundSwitchCCValues = Object.freeze({
|
|
|
7366
7350
|
property: "toneId",
|
|
7367
7351
|
}),
|
|
7368
7352
|
is: (valueId) => {
|
|
7369
|
-
return valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7353
|
+
return (valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7370
7354
|
&& valueId.property === "toneId"
|
|
7371
|
-
&& valueId.propertyKey == undefined;
|
|
7355
|
+
&& valueId.propertyKey == undefined);
|
|
7372
7356
|
},
|
|
7373
7357
|
get meta() {
|
|
7374
7358
|
return {
|
|
@@ -7397,9 +7381,9 @@ export const SoundSwitchCCValues = Object.freeze({
|
|
|
7397
7381
|
property: "defaultVolume",
|
|
7398
7382
|
}),
|
|
7399
7383
|
is: (valueId) => {
|
|
7400
|
-
return valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7384
|
+
return (valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7401
7385
|
&& valueId.property === "defaultVolume"
|
|
7402
|
-
&& valueId.propertyKey == undefined;
|
|
7386
|
+
&& valueId.propertyKey == undefined);
|
|
7403
7387
|
},
|
|
7404
7388
|
get meta() {
|
|
7405
7389
|
return {
|
|
@@ -7430,9 +7414,9 @@ export const SoundSwitchCCValues = Object.freeze({
|
|
|
7430
7414
|
property: "defaultToneId",
|
|
7431
7415
|
}),
|
|
7432
7416
|
is: (valueId) => {
|
|
7433
|
-
return valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7417
|
+
return (valueId.commandClass === CommandClasses["Sound Switch"]
|
|
7434
7418
|
&& valueId.property === "defaultToneId"
|
|
7435
|
-
&& valueId.propertyKey == undefined;
|
|
7419
|
+
&& valueId.propertyKey == undefined);
|
|
7436
7420
|
},
|
|
7437
7421
|
get meta() {
|
|
7438
7422
|
return {
|
|
@@ -7474,9 +7458,9 @@ export const SupervisionCCValues = Object.freeze({
|
|
|
7474
7458
|
};
|
|
7475
7459
|
}, {
|
|
7476
7460
|
is: (valueId) => {
|
|
7477
|
-
return valueId.commandClass === CommandClasses.Supervision
|
|
7461
|
+
return (valueId.commandClass === CommandClasses.Supervision
|
|
7478
7462
|
&& (({ property, propertyKey }) => property === "commandSupported"
|
|
7479
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7463
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7480
7464
|
},
|
|
7481
7465
|
options: {
|
|
7482
7466
|
internal: true,
|
|
@@ -7500,10 +7484,9 @@ export const ThermostatFanModeCCValues = Object.freeze({
|
|
|
7500
7484
|
property: "off",
|
|
7501
7485
|
}),
|
|
7502
7486
|
is: (valueId) => {
|
|
7503
|
-
return valueId.commandClass
|
|
7504
|
-
=== CommandClasses["Thermostat Fan Mode"]
|
|
7487
|
+
return (valueId.commandClass === CommandClasses["Thermostat Fan Mode"]
|
|
7505
7488
|
&& valueId.property === "off"
|
|
7506
|
-
&& valueId.propertyKey == undefined;
|
|
7489
|
+
&& valueId.propertyKey == undefined);
|
|
7507
7490
|
},
|
|
7508
7491
|
get meta() {
|
|
7509
7492
|
return {
|
|
@@ -7531,10 +7514,9 @@ export const ThermostatFanModeCCValues = Object.freeze({
|
|
|
7531
7514
|
property: "mode",
|
|
7532
7515
|
}),
|
|
7533
7516
|
is: (valueId) => {
|
|
7534
|
-
return valueId.commandClass
|
|
7535
|
-
=== CommandClasses["Thermostat Fan Mode"]
|
|
7517
|
+
return (valueId.commandClass === CommandClasses["Thermostat Fan Mode"]
|
|
7536
7518
|
&& valueId.property === "mode"
|
|
7537
|
-
&& valueId.propertyKey == undefined;
|
|
7519
|
+
&& valueId.propertyKey == undefined);
|
|
7538
7520
|
},
|
|
7539
7521
|
get meta() {
|
|
7540
7522
|
return {
|
|
@@ -7563,10 +7545,9 @@ export const ThermostatFanModeCCValues = Object.freeze({
|
|
|
7563
7545
|
property: "supportedModes",
|
|
7564
7546
|
}),
|
|
7565
7547
|
is: (valueId) => {
|
|
7566
|
-
return valueId.commandClass
|
|
7567
|
-
=== CommandClasses["Thermostat Fan Mode"]
|
|
7548
|
+
return (valueId.commandClass === CommandClasses["Thermostat Fan Mode"]
|
|
7568
7549
|
&& valueId.property === "supportedModes"
|
|
7569
|
-
&& valueId.propertyKey == undefined;
|
|
7550
|
+
&& valueId.propertyKey == undefined);
|
|
7570
7551
|
},
|
|
7571
7552
|
get meta() {
|
|
7572
7553
|
return ValueMetadata.Any;
|
|
@@ -7593,10 +7574,9 @@ export const ThermostatFanStateCCValues = Object.freeze({
|
|
|
7593
7574
|
property: "state",
|
|
7594
7575
|
}),
|
|
7595
7576
|
is: (valueId) => {
|
|
7596
|
-
return valueId.commandClass
|
|
7597
|
-
=== CommandClasses["Thermostat Fan State"]
|
|
7577
|
+
return (valueId.commandClass === CommandClasses["Thermostat Fan State"]
|
|
7598
7578
|
&& valueId.property === "state"
|
|
7599
|
-
&& valueId.propertyKey == undefined;
|
|
7579
|
+
&& valueId.propertyKey == undefined);
|
|
7600
7580
|
},
|
|
7601
7581
|
get meta() {
|
|
7602
7582
|
return {
|
|
@@ -7627,9 +7607,9 @@ export const ThermostatModeCCValues = Object.freeze({
|
|
|
7627
7607
|
property: "mode",
|
|
7628
7608
|
}),
|
|
7629
7609
|
is: (valueId) => {
|
|
7630
|
-
return valueId.commandClass === CommandClasses["Thermostat Mode"]
|
|
7610
|
+
return (valueId.commandClass === CommandClasses["Thermostat Mode"]
|
|
7631
7611
|
&& valueId.property === "mode"
|
|
7632
|
-
&& valueId.propertyKey == undefined;
|
|
7612
|
+
&& valueId.propertyKey == undefined);
|
|
7633
7613
|
},
|
|
7634
7614
|
get meta() {
|
|
7635
7615
|
return {
|
|
@@ -7658,9 +7638,9 @@ export const ThermostatModeCCValues = Object.freeze({
|
|
|
7658
7638
|
property: "manufacturerData",
|
|
7659
7639
|
}),
|
|
7660
7640
|
is: (valueId) => {
|
|
7661
|
-
return valueId.commandClass === CommandClasses["Thermostat Mode"]
|
|
7641
|
+
return (valueId.commandClass === CommandClasses["Thermostat Mode"]
|
|
7662
7642
|
&& valueId.property === "manufacturerData"
|
|
7663
|
-
&& valueId.propertyKey == undefined;
|
|
7643
|
+
&& valueId.propertyKey == undefined);
|
|
7664
7644
|
},
|
|
7665
7645
|
get meta() {
|
|
7666
7646
|
return {
|
|
@@ -7670,7 +7650,7 @@ export const ThermostatModeCCValues = Object.freeze({
|
|
|
7670
7650
|
},
|
|
7671
7651
|
options: {
|
|
7672
7652
|
internal: false,
|
|
7673
|
-
minVersion:
|
|
7653
|
+
minVersion: 3,
|
|
7674
7654
|
secret: false,
|
|
7675
7655
|
stateful: true,
|
|
7676
7656
|
supportsEndpoints: true,
|
|
@@ -7688,9 +7668,9 @@ export const ThermostatModeCCValues = Object.freeze({
|
|
|
7688
7668
|
property: "supportedModes",
|
|
7689
7669
|
}),
|
|
7690
7670
|
is: (valueId) => {
|
|
7691
|
-
return valueId.commandClass === CommandClasses["Thermostat Mode"]
|
|
7671
|
+
return (valueId.commandClass === CommandClasses["Thermostat Mode"]
|
|
7692
7672
|
&& valueId.property === "supportedModes"
|
|
7693
|
-
&& valueId.propertyKey == undefined;
|
|
7673
|
+
&& valueId.propertyKey == undefined);
|
|
7694
7674
|
},
|
|
7695
7675
|
get meta() {
|
|
7696
7676
|
return ValueMetadata.Any;
|
|
@@ -7717,10 +7697,10 @@ export const ThermostatOperatingStateCCValues = Object.freeze({
|
|
|
7717
7697
|
property: "state",
|
|
7718
7698
|
}),
|
|
7719
7699
|
is: (valueId) => {
|
|
7720
|
-
return valueId.commandClass
|
|
7700
|
+
return (valueId.commandClass
|
|
7721
7701
|
=== CommandClasses["Thermostat Operating State"]
|
|
7722
7702
|
&& valueId.property === "state"
|
|
7723
|
-
&& valueId.propertyKey == undefined;
|
|
7703
|
+
&& valueId.propertyKey == undefined);
|
|
7724
7704
|
},
|
|
7725
7705
|
get meta() {
|
|
7726
7706
|
return {
|
|
@@ -7751,10 +7731,9 @@ export const ThermostatSetpointCCValues = Object.freeze({
|
|
|
7751
7731
|
property: "supportedSetpointTypes",
|
|
7752
7732
|
}),
|
|
7753
7733
|
is: (valueId) => {
|
|
7754
|
-
return valueId.commandClass
|
|
7755
|
-
=== CommandClasses["Thermostat Setpoint"]
|
|
7734
|
+
return (valueId.commandClass === CommandClasses["Thermostat Setpoint"]
|
|
7756
7735
|
&& valueId.property === "supportedSetpointTypes"
|
|
7757
|
-
&& valueId.propertyKey == undefined;
|
|
7736
|
+
&& valueId.propertyKey == undefined);
|
|
7758
7737
|
},
|
|
7759
7738
|
get meta() {
|
|
7760
7739
|
return ValueMetadata.Any;
|
|
@@ -7793,10 +7772,10 @@ export const ThermostatSetpointCCValues = Object.freeze({
|
|
|
7793
7772
|
};
|
|
7794
7773
|
}, {
|
|
7795
7774
|
is: (valueId) => {
|
|
7796
|
-
return valueId.commandClass
|
|
7775
|
+
return (valueId.commandClass
|
|
7797
7776
|
=== CommandClasses["Thermostat Setpoint"]
|
|
7798
7777
|
&& (({ property, propertyKey }) => property === "setpoint"
|
|
7799
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7778
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7800
7779
|
},
|
|
7801
7780
|
options: {
|
|
7802
7781
|
internal: false,
|
|
@@ -7828,10 +7807,10 @@ export const ThermostatSetpointCCValues = Object.freeze({
|
|
|
7828
7807
|
};
|
|
7829
7808
|
}, {
|
|
7830
7809
|
is: (valueId) => {
|
|
7831
|
-
return valueId.commandClass
|
|
7810
|
+
return (valueId.commandClass
|
|
7832
7811
|
=== CommandClasses["Thermostat Setpoint"]
|
|
7833
7812
|
&& (({ property, propertyKey }) => property === "setpointScale"
|
|
7834
|
-
&& typeof propertyKey === "number")(valueId);
|
|
7813
|
+
&& typeof propertyKey === "number")(valueId));
|
|
7835
7814
|
},
|
|
7836
7815
|
options: {
|
|
7837
7816
|
internal: true,
|
|
@@ -7855,9 +7834,9 @@ export const TimeParametersCCValues = Object.freeze({
|
|
|
7855
7834
|
property: "dateAndTime",
|
|
7856
7835
|
}),
|
|
7857
7836
|
is: (valueId) => {
|
|
7858
|
-
return valueId.commandClass === CommandClasses["Time Parameters"]
|
|
7837
|
+
return (valueId.commandClass === CommandClasses["Time Parameters"]
|
|
7859
7838
|
&& valueId.property === "dateAndTime"
|
|
7860
|
-
&& valueId.propertyKey == undefined;
|
|
7839
|
+
&& valueId.propertyKey == undefined);
|
|
7861
7840
|
},
|
|
7862
7841
|
get meta() {
|
|
7863
7842
|
return {
|
|
@@ -7887,9 +7866,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
7887
7866
|
property: "supportedUsers",
|
|
7888
7867
|
}),
|
|
7889
7868
|
is: (valueId) => {
|
|
7890
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
7869
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
7891
7870
|
&& valueId.property === "supportedUsers"
|
|
7892
|
-
&& valueId.propertyKey == undefined;
|
|
7871
|
+
&& valueId.propertyKey == undefined);
|
|
7893
7872
|
},
|
|
7894
7873
|
get meta() {
|
|
7895
7874
|
return ValueMetadata.Any;
|
|
@@ -7914,9 +7893,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
7914
7893
|
property: "supportsAdminCode",
|
|
7915
7894
|
}),
|
|
7916
7895
|
is: (valueId) => {
|
|
7917
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
7896
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
7918
7897
|
&& valueId.property === "supportsAdminCode"
|
|
7919
|
-
&& valueId.propertyKey == undefined;
|
|
7898
|
+
&& valueId.propertyKey == undefined);
|
|
7920
7899
|
},
|
|
7921
7900
|
get meta() {
|
|
7922
7901
|
return ValueMetadata.Any;
|
|
@@ -7941,9 +7920,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
7941
7920
|
property: "supportsAdminCodeDeactivation",
|
|
7942
7921
|
}),
|
|
7943
7922
|
is: (valueId) => {
|
|
7944
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
7923
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
7945
7924
|
&& valueId.property === "supportsAdminCodeDeactivation"
|
|
7946
|
-
&& valueId.propertyKey == undefined;
|
|
7925
|
+
&& valueId.propertyKey == undefined);
|
|
7947
7926
|
},
|
|
7948
7927
|
get meta() {
|
|
7949
7928
|
return ValueMetadata.Any;
|
|
@@ -7968,9 +7947,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
7968
7947
|
property: "supportsMasterCode",
|
|
7969
7948
|
}),
|
|
7970
7949
|
is: (valueId) => {
|
|
7971
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
7950
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
7972
7951
|
&& valueId.property === "supportsMasterCode"
|
|
7973
|
-
&& valueId.propertyKey == undefined;
|
|
7952
|
+
&& valueId.propertyKey == undefined);
|
|
7974
7953
|
},
|
|
7975
7954
|
get meta() {
|
|
7976
7955
|
return ValueMetadata.Any;
|
|
@@ -7995,9 +7974,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
7995
7974
|
property: "supportsMasterCodeDeactivation",
|
|
7996
7975
|
}),
|
|
7997
7976
|
is: (valueId) => {
|
|
7998
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
7977
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
7999
7978
|
&& valueId.property === "supportsMasterCodeDeactivation"
|
|
8000
|
-
&& valueId.propertyKey == undefined;
|
|
7979
|
+
&& valueId.propertyKey == undefined);
|
|
8001
7980
|
},
|
|
8002
7981
|
get meta() {
|
|
8003
7982
|
return ValueMetadata.Any;
|
|
@@ -8022,9 +8001,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8022
8001
|
property: "supportsUserCodeChecksum",
|
|
8023
8002
|
}),
|
|
8024
8003
|
is: (valueId) => {
|
|
8025
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8004
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8026
8005
|
&& valueId.property === "supportsUserCodeChecksum"
|
|
8027
|
-
&& valueId.propertyKey == undefined;
|
|
8006
|
+
&& valueId.propertyKey == undefined);
|
|
8028
8007
|
},
|
|
8029
8008
|
get meta() {
|
|
8030
8009
|
return ValueMetadata.Any;
|
|
@@ -8049,9 +8028,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8049
8028
|
property: "supportsMultipleUserCodeReport",
|
|
8050
8029
|
}),
|
|
8051
8030
|
is: (valueId) => {
|
|
8052
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8031
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8053
8032
|
&& valueId.property === "supportsMultipleUserCodeReport"
|
|
8054
|
-
&& valueId.propertyKey == undefined;
|
|
8033
|
+
&& valueId.propertyKey == undefined);
|
|
8055
8034
|
},
|
|
8056
8035
|
get meta() {
|
|
8057
8036
|
return ValueMetadata.Any;
|
|
@@ -8076,9 +8055,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8076
8055
|
property: "supportsMultipleUserCodeSet",
|
|
8077
8056
|
}),
|
|
8078
8057
|
is: (valueId) => {
|
|
8079
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8058
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8080
8059
|
&& valueId.property === "supportsMultipleUserCodeSet"
|
|
8081
|
-
&& valueId.propertyKey == undefined;
|
|
8060
|
+
&& valueId.propertyKey == undefined);
|
|
8082
8061
|
},
|
|
8083
8062
|
get meta() {
|
|
8084
8063
|
return ValueMetadata.Any;
|
|
@@ -8103,9 +8082,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8103
8082
|
property: "supportedUserIDStatuses",
|
|
8104
8083
|
}),
|
|
8105
8084
|
is: (valueId) => {
|
|
8106
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8085
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8107
8086
|
&& valueId.property === "supportedUserIDStatuses"
|
|
8108
|
-
&& valueId.propertyKey == undefined;
|
|
8087
|
+
&& valueId.propertyKey == undefined);
|
|
8109
8088
|
},
|
|
8110
8089
|
get meta() {
|
|
8111
8090
|
return ValueMetadata.Any;
|
|
@@ -8130,9 +8109,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8130
8109
|
property: "supportedKeypadModes",
|
|
8131
8110
|
}),
|
|
8132
8111
|
is: (valueId) => {
|
|
8133
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8112
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8134
8113
|
&& valueId.property === "supportedKeypadModes"
|
|
8135
|
-
&& valueId.propertyKey == undefined;
|
|
8114
|
+
&& valueId.propertyKey == undefined);
|
|
8136
8115
|
},
|
|
8137
8116
|
get meta() {
|
|
8138
8117
|
return ValueMetadata.Any;
|
|
@@ -8157,9 +8136,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8157
8136
|
property: "supportedASCIIChars",
|
|
8158
8137
|
}),
|
|
8159
8138
|
is: (valueId) => {
|
|
8160
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8139
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8161
8140
|
&& valueId.property === "supportedASCIIChars"
|
|
8162
|
-
&& valueId.propertyKey == undefined;
|
|
8141
|
+
&& valueId.propertyKey == undefined);
|
|
8163
8142
|
},
|
|
8164
8143
|
get meta() {
|
|
8165
8144
|
return ValueMetadata.Any;
|
|
@@ -8184,9 +8163,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8184
8163
|
property: "userCodeChecksum",
|
|
8185
8164
|
}),
|
|
8186
8165
|
is: (valueId) => {
|
|
8187
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8166
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8188
8167
|
&& valueId.property === "userCodeChecksum"
|
|
8189
|
-
&& valueId.propertyKey == undefined;
|
|
8168
|
+
&& valueId.propertyKey == undefined);
|
|
8190
8169
|
},
|
|
8191
8170
|
get meta() {
|
|
8192
8171
|
return ValueMetadata.Any;
|
|
@@ -8211,9 +8190,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8211
8190
|
property: "keypadMode",
|
|
8212
8191
|
}),
|
|
8213
8192
|
is: (valueId) => {
|
|
8214
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8193
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8215
8194
|
&& valueId.property === "keypadMode"
|
|
8216
|
-
&& valueId.propertyKey == undefined;
|
|
8195
|
+
&& valueId.propertyKey == undefined);
|
|
8217
8196
|
},
|
|
8218
8197
|
get meta() {
|
|
8219
8198
|
return {
|
|
@@ -8241,9 +8220,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8241
8220
|
property: "adminCode",
|
|
8242
8221
|
}),
|
|
8243
8222
|
is: (valueId) => {
|
|
8244
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8223
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8245
8224
|
&& valueId.property === "adminCode"
|
|
8246
|
-
&& valueId.propertyKey == undefined;
|
|
8225
|
+
&& valueId.propertyKey == undefined);
|
|
8247
8226
|
},
|
|
8248
8227
|
get meta() {
|
|
8249
8228
|
return {
|
|
@@ -8273,9 +8252,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8273
8252
|
property: "masterCode",
|
|
8274
8253
|
}),
|
|
8275
8254
|
is: (valueId) => {
|
|
8276
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8255
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8277
8256
|
&& valueId.property === "masterCode"
|
|
8278
|
-
&& valueId.propertyKey == undefined;
|
|
8257
|
+
&& valueId.propertyKey == undefined);
|
|
8279
8258
|
},
|
|
8280
8259
|
get meta() {
|
|
8281
8260
|
return ValueMetadata.Any;
|
|
@@ -8313,9 +8292,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8313
8292
|
};
|
|
8314
8293
|
}, {
|
|
8315
8294
|
is: (valueId) => {
|
|
8316
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8295
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8317
8296
|
&& (({ property, propertyKey }) => property === "userIdStatus"
|
|
8318
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8297
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8319
8298
|
},
|
|
8320
8299
|
options: {
|
|
8321
8300
|
internal: false,
|
|
@@ -8347,9 +8326,9 @@ export const UserCodeCCValues = Object.freeze({
|
|
|
8347
8326
|
};
|
|
8348
8327
|
}, {
|
|
8349
8328
|
is: (valueId) => {
|
|
8350
|
-
return valueId.commandClass === CommandClasses["User Code"]
|
|
8329
|
+
return (valueId.commandClass === CommandClasses["User Code"]
|
|
8351
8330
|
&& (({ property, propertyKey }) => property === "userCode"
|
|
8352
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8331
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8353
8332
|
},
|
|
8354
8333
|
options: {
|
|
8355
8334
|
internal: false,
|
|
@@ -8373,9 +8352,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8373
8352
|
property: "supportedUsers",
|
|
8374
8353
|
}),
|
|
8375
8354
|
is: (valueId) => {
|
|
8376
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8355
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8377
8356
|
&& valueId.property === "supportedUsers"
|
|
8378
|
-
&& valueId.propertyKey == undefined;
|
|
8357
|
+
&& valueId.propertyKey == undefined);
|
|
8379
8358
|
},
|
|
8380
8359
|
get meta() {
|
|
8381
8360
|
return ValueMetadata.Any;
|
|
@@ -8400,9 +8379,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8400
8379
|
property: "supportedCredentialRules",
|
|
8401
8380
|
}),
|
|
8402
8381
|
is: (valueId) => {
|
|
8403
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8382
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8404
8383
|
&& valueId.property === "supportedCredentialRules"
|
|
8405
|
-
&& valueId.propertyKey == undefined;
|
|
8384
|
+
&& valueId.propertyKey == undefined);
|
|
8406
8385
|
},
|
|
8407
8386
|
get meta() {
|
|
8408
8387
|
return ValueMetadata.Any;
|
|
@@ -8427,9 +8406,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8427
8406
|
property: "maxUserNameLength",
|
|
8428
8407
|
}),
|
|
8429
8408
|
is: (valueId) => {
|
|
8430
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8409
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8431
8410
|
&& valueId.property === "maxUserNameLength"
|
|
8432
|
-
&& valueId.propertyKey == undefined;
|
|
8411
|
+
&& valueId.propertyKey == undefined);
|
|
8433
8412
|
},
|
|
8434
8413
|
get meta() {
|
|
8435
8414
|
return ValueMetadata.Any;
|
|
@@ -8454,9 +8433,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8454
8433
|
property: "supportsUserSchedule",
|
|
8455
8434
|
}),
|
|
8456
8435
|
is: (valueId) => {
|
|
8457
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8436
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8458
8437
|
&& valueId.property === "supportsUserSchedule"
|
|
8459
|
-
&& valueId.propertyKey == undefined;
|
|
8438
|
+
&& valueId.propertyKey == undefined);
|
|
8460
8439
|
},
|
|
8461
8440
|
get meta() {
|
|
8462
8441
|
return ValueMetadata.Any;
|
|
@@ -8481,9 +8460,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8481
8460
|
property: "supportsAllUsersChecksum",
|
|
8482
8461
|
}),
|
|
8483
8462
|
is: (valueId) => {
|
|
8484
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8463
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8485
8464
|
&& valueId.property === "supportsAllUsersChecksum"
|
|
8486
|
-
&& valueId.propertyKey == undefined;
|
|
8465
|
+
&& valueId.propertyKey == undefined);
|
|
8487
8466
|
},
|
|
8488
8467
|
get meta() {
|
|
8489
8468
|
return ValueMetadata.Any;
|
|
@@ -8508,9 +8487,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8508
8487
|
property: "supportsUserChecksum",
|
|
8509
8488
|
}),
|
|
8510
8489
|
is: (valueId) => {
|
|
8511
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8490
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8512
8491
|
&& valueId.property === "supportsUserChecksum"
|
|
8513
|
-
&& valueId.propertyKey == undefined;
|
|
8492
|
+
&& valueId.propertyKey == undefined);
|
|
8514
8493
|
},
|
|
8515
8494
|
get meta() {
|
|
8516
8495
|
return ValueMetadata.Any;
|
|
@@ -8535,9 +8514,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8535
8514
|
property: "supportedUserNameEncodings",
|
|
8536
8515
|
}),
|
|
8537
8516
|
is: (valueId) => {
|
|
8538
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8517
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8539
8518
|
&& valueId.property === "supportedUserNameEncodings"
|
|
8540
|
-
&& valueId.propertyKey == undefined;
|
|
8519
|
+
&& valueId.propertyKey == undefined);
|
|
8541
8520
|
},
|
|
8542
8521
|
get meta() {
|
|
8543
8522
|
return ValueMetadata.Any;
|
|
@@ -8562,9 +8541,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8562
8541
|
property: "supportedUserTypes",
|
|
8563
8542
|
}),
|
|
8564
8543
|
is: (valueId) => {
|
|
8565
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8544
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8566
8545
|
&& valueId.property === "supportedUserTypes"
|
|
8567
|
-
&& valueId.propertyKey == undefined;
|
|
8546
|
+
&& valueId.propertyKey == undefined);
|
|
8568
8547
|
},
|
|
8569
8548
|
get meta() {
|
|
8570
8549
|
return ValueMetadata.Any;
|
|
@@ -8589,9 +8568,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8589
8568
|
property: "supportsCredentialChecksum",
|
|
8590
8569
|
}),
|
|
8591
8570
|
is: (valueId) => {
|
|
8592
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8571
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8593
8572
|
&& valueId.property === "supportsCredentialChecksum"
|
|
8594
|
-
&& valueId.propertyKey == undefined;
|
|
8573
|
+
&& valueId.propertyKey == undefined);
|
|
8595
8574
|
},
|
|
8596
8575
|
get meta() {
|
|
8597
8576
|
return ValueMetadata.Any;
|
|
@@ -8616,9 +8595,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8616
8595
|
property: "supportsAdminCode",
|
|
8617
8596
|
}),
|
|
8618
8597
|
is: (valueId) => {
|
|
8619
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8598
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8620
8599
|
&& valueId.property === "supportsAdminCode"
|
|
8621
|
-
&& valueId.propertyKey == undefined;
|
|
8600
|
+
&& valueId.propertyKey == undefined);
|
|
8622
8601
|
},
|
|
8623
8602
|
get meta() {
|
|
8624
8603
|
return ValueMetadata.Any;
|
|
@@ -8643,9 +8622,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8643
8622
|
property: "supportsAdminCodeDeactivation",
|
|
8644
8623
|
}),
|
|
8645
8624
|
is: (valueId) => {
|
|
8646
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8625
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8647
8626
|
&& valueId.property === "supportsAdminCodeDeactivation"
|
|
8648
|
-
&& valueId.propertyKey == undefined;
|
|
8627
|
+
&& valueId.propertyKey == undefined);
|
|
8649
8628
|
},
|
|
8650
8629
|
get meta() {
|
|
8651
8630
|
return ValueMetadata.Any;
|
|
@@ -8670,9 +8649,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8670
8649
|
property: "supportedCredentialTypes",
|
|
8671
8650
|
}),
|
|
8672
8651
|
is: (valueId) => {
|
|
8673
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8652
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8674
8653
|
&& valueId.property === "supportedCredentialTypes"
|
|
8675
|
-
&& valueId.propertyKey == undefined;
|
|
8654
|
+
&& valueId.propertyKey == undefined);
|
|
8676
8655
|
},
|
|
8677
8656
|
get meta() {
|
|
8678
8657
|
return ValueMetadata.Any;
|
|
@@ -8707,10 +8686,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8707
8686
|
};
|
|
8708
8687
|
}, {
|
|
8709
8688
|
is: (valueId) => {
|
|
8710
|
-
return valueId.commandClass
|
|
8711
|
-
=== CommandClasses["User Credential"]
|
|
8689
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8712
8690
|
&& (({ property, propertyKey }) => property === "credentialCapabilities"
|
|
8713
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8691
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8714
8692
|
},
|
|
8715
8693
|
options: {
|
|
8716
8694
|
internal: true,
|
|
@@ -8732,9 +8710,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8732
8710
|
property: "allUsersChecksum",
|
|
8733
8711
|
}),
|
|
8734
8712
|
is: (valueId) => {
|
|
8735
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8713
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8736
8714
|
&& valueId.property === "allUsersChecksum"
|
|
8737
|
-
&& valueId.propertyKey == undefined;
|
|
8715
|
+
&& valueId.propertyKey == undefined);
|
|
8738
8716
|
},
|
|
8739
8717
|
get meta() {
|
|
8740
8718
|
return ValueMetadata.Any;
|
|
@@ -8759,9 +8737,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8759
8737
|
property: "supportedKeyLockerEntryTypes",
|
|
8760
8738
|
}),
|
|
8761
8739
|
is: (valueId) => {
|
|
8762
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
8740
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8763
8741
|
&& valueId.property === "supportedKeyLockerEntryTypes"
|
|
8764
|
-
&& valueId.propertyKey == undefined;
|
|
8742
|
+
&& valueId.propertyKey == undefined);
|
|
8765
8743
|
},
|
|
8766
8744
|
get meta() {
|
|
8767
8745
|
return ValueMetadata.Any;
|
|
@@ -8796,10 +8774,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8796
8774
|
};
|
|
8797
8775
|
}, {
|
|
8798
8776
|
is: (valueId) => {
|
|
8799
|
-
return valueId.commandClass
|
|
8800
|
-
=== CommandClasses["User Credential"]
|
|
8777
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8801
8778
|
&& (({ property, propertyKey }) => property === "keyLockerCapabilities"
|
|
8802
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8779
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8803
8780
|
},
|
|
8804
8781
|
options: {
|
|
8805
8782
|
internal: true,
|
|
@@ -8831,10 +8808,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8831
8808
|
};
|
|
8832
8809
|
}, {
|
|
8833
8810
|
is: (valueId) => {
|
|
8834
|
-
return valueId.commandClass
|
|
8835
|
-
=== CommandClasses["User Credential"]
|
|
8811
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8836
8812
|
&& (({ property, propertyKey }) => property === "userType"
|
|
8837
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8813
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8838
8814
|
},
|
|
8839
8815
|
options: {
|
|
8840
8816
|
internal: true,
|
|
@@ -8866,10 +8842,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8866
8842
|
};
|
|
8867
8843
|
}, {
|
|
8868
8844
|
is: (valueId) => {
|
|
8869
|
-
return valueId.commandClass
|
|
8870
|
-
=== CommandClasses["User Credential"]
|
|
8845
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8871
8846
|
&& (({ property, propertyKey }) => property === "userActive"
|
|
8872
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8847
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8873
8848
|
},
|
|
8874
8849
|
options: {
|
|
8875
8850
|
internal: true,
|
|
@@ -8901,10 +8876,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8901
8876
|
};
|
|
8902
8877
|
}, {
|
|
8903
8878
|
is: (valueId) => {
|
|
8904
|
-
return valueId.commandClass
|
|
8905
|
-
=== CommandClasses["User Credential"]
|
|
8879
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8906
8880
|
&& (({ property, propertyKey }) => property === "credentialRule"
|
|
8907
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8881
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8908
8882
|
},
|
|
8909
8883
|
options: {
|
|
8910
8884
|
internal: true,
|
|
@@ -8936,10 +8910,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8936
8910
|
};
|
|
8937
8911
|
}, {
|
|
8938
8912
|
is: (valueId) => {
|
|
8939
|
-
return valueId.commandClass
|
|
8940
|
-
=== CommandClasses["User Credential"]
|
|
8913
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8941
8914
|
&& (({ property, propertyKey }) => property === "expiringTimeoutMinutes"
|
|
8942
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8915
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8943
8916
|
},
|
|
8944
8917
|
options: {
|
|
8945
8918
|
internal: true,
|
|
@@ -8971,10 +8944,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
8971
8944
|
};
|
|
8972
8945
|
}, {
|
|
8973
8946
|
is: (valueId) => {
|
|
8974
|
-
return valueId.commandClass
|
|
8975
|
-
=== CommandClasses["User Credential"]
|
|
8947
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
8976
8948
|
&& (({ property, propertyKey }) => property === "userName"
|
|
8977
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8949
|
+
&& typeof propertyKey === "number")(valueId));
|
|
8978
8950
|
},
|
|
8979
8951
|
options: {
|
|
8980
8952
|
internal: true,
|
|
@@ -9006,10 +8978,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9006
8978
|
};
|
|
9007
8979
|
}, {
|
|
9008
8980
|
is: (valueId) => {
|
|
9009
|
-
return valueId.commandClass
|
|
9010
|
-
=== CommandClasses["User Credential"]
|
|
8981
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9011
8982
|
&& (({ property, propertyKey }) => property === "userModifierType"
|
|
9012
|
-
&& typeof propertyKey === "number")(valueId);
|
|
8983
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9013
8984
|
},
|
|
9014
8985
|
options: {
|
|
9015
8986
|
internal: true,
|
|
@@ -9041,10 +9012,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9041
9012
|
};
|
|
9042
9013
|
}, {
|
|
9043
9014
|
is: (valueId) => {
|
|
9044
|
-
return valueId.commandClass
|
|
9045
|
-
=== CommandClasses["User Credential"]
|
|
9015
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9046
9016
|
&& (({ property, propertyKey }) => property === "userModifierNodeId"
|
|
9047
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9017
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9048
9018
|
},
|
|
9049
9019
|
options: {
|
|
9050
9020
|
internal: true,
|
|
@@ -9076,10 +9046,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9076
9046
|
};
|
|
9077
9047
|
}, {
|
|
9078
9048
|
is: (valueId) => {
|
|
9079
|
-
return valueId.commandClass
|
|
9080
|
-
=== CommandClasses["User Credential"]
|
|
9049
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9081
9050
|
&& (({ property, propertyKey }) => property === "userChecksum"
|
|
9082
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9051
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9083
9052
|
},
|
|
9084
9053
|
options: {
|
|
9085
9054
|
internal: true,
|
|
@@ -9111,10 +9080,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9111
9080
|
};
|
|
9112
9081
|
}, {
|
|
9113
9082
|
is: (valueId) => {
|
|
9114
|
-
return valueId.commandClass
|
|
9115
|
-
=== CommandClasses["User Credential"]
|
|
9083
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9116
9084
|
&& (({ property, propertyKey }) => property === "credentialOwner"
|
|
9117
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9085
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9118
9086
|
},
|
|
9119
9087
|
options: {
|
|
9120
9088
|
internal: true,
|
|
@@ -9146,10 +9114,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9146
9114
|
};
|
|
9147
9115
|
}, {
|
|
9148
9116
|
is: (valueId) => {
|
|
9149
|
-
return valueId.commandClass
|
|
9150
|
-
=== CommandClasses["User Credential"]
|
|
9117
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9151
9118
|
&& (({ property, propertyKey }) => property === "credentialModifierType"
|
|
9152
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9119
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9153
9120
|
},
|
|
9154
9121
|
options: {
|
|
9155
9122
|
internal: true,
|
|
@@ -9181,10 +9148,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9181
9148
|
};
|
|
9182
9149
|
}, {
|
|
9183
9150
|
is: (valueId) => {
|
|
9184
|
-
return valueId.commandClass
|
|
9185
|
-
=== CommandClasses["User Credential"]
|
|
9151
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9186
9152
|
&& (({ property, propertyKey }) => property === "credentialModifierNodeId"
|
|
9187
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9153
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9188
9154
|
},
|
|
9189
9155
|
options: {
|
|
9190
9156
|
internal: true,
|
|
@@ -9216,10 +9182,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9216
9182
|
};
|
|
9217
9183
|
}, {
|
|
9218
9184
|
is: (valueId) => {
|
|
9219
|
-
return valueId.commandClass
|
|
9220
|
-
=== CommandClasses["User Credential"]
|
|
9185
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9221
9186
|
&& (({ property, propertyKey }) => property === "credential"
|
|
9222
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9187
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9223
9188
|
},
|
|
9224
9189
|
options: {
|
|
9225
9190
|
internal: true,
|
|
@@ -9241,9 +9206,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9241
9206
|
property: "adminPinCode",
|
|
9242
9207
|
}),
|
|
9243
9208
|
is: (valueId) => {
|
|
9244
|
-
return valueId.commandClass === CommandClasses["User Credential"]
|
|
9209
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9245
9210
|
&& valueId.property === "adminPinCode"
|
|
9246
|
-
&& valueId.propertyKey == undefined;
|
|
9211
|
+
&& valueId.propertyKey == undefined);
|
|
9247
9212
|
},
|
|
9248
9213
|
get meta() {
|
|
9249
9214
|
return ValueMetadata.Any;
|
|
@@ -9278,10 +9243,9 @@ export const UserCredentialCCValues = Object.freeze({
|
|
|
9278
9243
|
};
|
|
9279
9244
|
}, {
|
|
9280
9245
|
is: (valueId) => {
|
|
9281
|
-
return valueId.commandClass
|
|
9282
|
-
=== CommandClasses["User Credential"]
|
|
9246
|
+
return (valueId.commandClass === CommandClasses["User Credential"]
|
|
9283
9247
|
&& (({ property, propertyKey }) => property === "keyLockerEntry"
|
|
9284
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9248
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9285
9249
|
},
|
|
9286
9250
|
options: {
|
|
9287
9251
|
internal: true,
|
|
@@ -9305,9 +9269,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9305
9269
|
property: "firmwareVersions",
|
|
9306
9270
|
}),
|
|
9307
9271
|
is: (valueId) => {
|
|
9308
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9272
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9309
9273
|
&& valueId.property === "firmwareVersions"
|
|
9310
|
-
&& valueId.propertyKey == undefined;
|
|
9274
|
+
&& valueId.propertyKey == undefined);
|
|
9311
9275
|
},
|
|
9312
9276
|
get meta() {
|
|
9313
9277
|
return {
|
|
@@ -9336,9 +9300,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9336
9300
|
property: "libraryType",
|
|
9337
9301
|
}),
|
|
9338
9302
|
is: (valueId) => {
|
|
9339
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9303
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9340
9304
|
&& valueId.property === "libraryType"
|
|
9341
|
-
&& valueId.propertyKey == undefined;
|
|
9305
|
+
&& valueId.propertyKey == undefined);
|
|
9342
9306
|
},
|
|
9343
9307
|
get meta() {
|
|
9344
9308
|
return {
|
|
@@ -9367,9 +9331,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9367
9331
|
property: "protocolVersion",
|
|
9368
9332
|
}),
|
|
9369
9333
|
is: (valueId) => {
|
|
9370
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9334
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9371
9335
|
&& valueId.property === "protocolVersion"
|
|
9372
|
-
&& valueId.propertyKey == undefined;
|
|
9336
|
+
&& valueId.propertyKey == undefined);
|
|
9373
9337
|
},
|
|
9374
9338
|
get meta() {
|
|
9375
9339
|
return {
|
|
@@ -9397,9 +9361,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9397
9361
|
property: "hardwareVersion",
|
|
9398
9362
|
}),
|
|
9399
9363
|
is: (valueId) => {
|
|
9400
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9364
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9401
9365
|
&& valueId.property === "hardwareVersion"
|
|
9402
|
-
&& valueId.propertyKey == undefined;
|
|
9366
|
+
&& valueId.propertyKey == undefined);
|
|
9403
9367
|
},
|
|
9404
9368
|
get meta() {
|
|
9405
9369
|
return {
|
|
@@ -9427,9 +9391,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9427
9391
|
property: "supportsZWaveSoftwareGet",
|
|
9428
9392
|
}),
|
|
9429
9393
|
is: (valueId) => {
|
|
9430
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9394
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9431
9395
|
&& valueId.property === "supportsZWaveSoftwareGet"
|
|
9432
|
-
&& valueId.propertyKey == undefined;
|
|
9396
|
+
&& valueId.propertyKey == undefined);
|
|
9433
9397
|
},
|
|
9434
9398
|
get meta() {
|
|
9435
9399
|
return ValueMetadata.Any;
|
|
@@ -9454,9 +9418,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9454
9418
|
property: "sdkVersion",
|
|
9455
9419
|
}),
|
|
9456
9420
|
is: (valueId) => {
|
|
9457
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9421
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9458
9422
|
&& valueId.property === "sdkVersion"
|
|
9459
|
-
&& valueId.propertyKey == undefined;
|
|
9423
|
+
&& valueId.propertyKey == undefined);
|
|
9460
9424
|
},
|
|
9461
9425
|
get meta() {
|
|
9462
9426
|
return {
|
|
@@ -9484,9 +9448,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9484
9448
|
property: "applicationFrameworkAPIVersion",
|
|
9485
9449
|
}),
|
|
9486
9450
|
is: (valueId) => {
|
|
9487
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9451
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9488
9452
|
&& valueId.property === "applicationFrameworkAPIVersion"
|
|
9489
|
-
&& valueId.propertyKey == undefined;
|
|
9453
|
+
&& valueId.propertyKey == undefined);
|
|
9490
9454
|
},
|
|
9491
9455
|
get meta() {
|
|
9492
9456
|
return {
|
|
@@ -9514,9 +9478,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9514
9478
|
property: "applicationFrameworkBuildNumber",
|
|
9515
9479
|
}),
|
|
9516
9480
|
is: (valueId) => {
|
|
9517
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9481
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9518
9482
|
&& valueId.property === "applicationFrameworkBuildNumber"
|
|
9519
|
-
&& valueId.propertyKey == undefined;
|
|
9483
|
+
&& valueId.propertyKey == undefined);
|
|
9520
9484
|
},
|
|
9521
9485
|
get meta() {
|
|
9522
9486
|
return {
|
|
@@ -9544,9 +9508,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9544
9508
|
property: "hostInterfaceVersion",
|
|
9545
9509
|
}),
|
|
9546
9510
|
is: (valueId) => {
|
|
9547
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9511
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9548
9512
|
&& valueId.property === "hostInterfaceVersion"
|
|
9549
|
-
&& valueId.propertyKey == undefined;
|
|
9513
|
+
&& valueId.propertyKey == undefined);
|
|
9550
9514
|
},
|
|
9551
9515
|
get meta() {
|
|
9552
9516
|
return {
|
|
@@ -9574,9 +9538,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9574
9538
|
property: "hostInterfaceBuildNumber",
|
|
9575
9539
|
}),
|
|
9576
9540
|
is: (valueId) => {
|
|
9577
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9541
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9578
9542
|
&& valueId.property === "hostInterfaceBuildNumber"
|
|
9579
|
-
&& valueId.propertyKey == undefined;
|
|
9543
|
+
&& valueId.propertyKey == undefined);
|
|
9580
9544
|
},
|
|
9581
9545
|
get meta() {
|
|
9582
9546
|
return {
|
|
@@ -9604,9 +9568,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9604
9568
|
property: "zWaveProtocolVersion",
|
|
9605
9569
|
}),
|
|
9606
9570
|
is: (valueId) => {
|
|
9607
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9571
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9608
9572
|
&& valueId.property === "zWaveProtocolVersion"
|
|
9609
|
-
&& valueId.propertyKey == undefined;
|
|
9573
|
+
&& valueId.propertyKey == undefined);
|
|
9610
9574
|
},
|
|
9611
9575
|
get meta() {
|
|
9612
9576
|
return {
|
|
@@ -9634,9 +9598,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9634
9598
|
property: "zWaveProtocolBuildNumber",
|
|
9635
9599
|
}),
|
|
9636
9600
|
is: (valueId) => {
|
|
9637
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9601
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9638
9602
|
&& valueId.property === "zWaveProtocolBuildNumber"
|
|
9639
|
-
&& valueId.propertyKey == undefined;
|
|
9603
|
+
&& valueId.propertyKey == undefined);
|
|
9640
9604
|
},
|
|
9641
9605
|
get meta() {
|
|
9642
9606
|
return {
|
|
@@ -9664,9 +9628,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9664
9628
|
property: "applicationVersion",
|
|
9665
9629
|
}),
|
|
9666
9630
|
is: (valueId) => {
|
|
9667
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9631
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9668
9632
|
&& valueId.property === "applicationVersion"
|
|
9669
|
-
&& valueId.propertyKey == undefined;
|
|
9633
|
+
&& valueId.propertyKey == undefined);
|
|
9670
9634
|
},
|
|
9671
9635
|
get meta() {
|
|
9672
9636
|
return {
|
|
@@ -9694,9 +9658,9 @@ export const VersionCCValues = Object.freeze({
|
|
|
9694
9658
|
property: "applicationBuildNumber",
|
|
9695
9659
|
}),
|
|
9696
9660
|
is: (valueId) => {
|
|
9697
|
-
return valueId.commandClass === CommandClasses.Version
|
|
9661
|
+
return (valueId.commandClass === CommandClasses.Version
|
|
9698
9662
|
&& valueId.property === "applicationBuildNumber"
|
|
9699
|
-
&& valueId.propertyKey == undefined;
|
|
9663
|
+
&& valueId.propertyKey == undefined);
|
|
9700
9664
|
},
|
|
9701
9665
|
get meta() {
|
|
9702
9666
|
return {
|
|
@@ -9726,9 +9690,9 @@ export const WakeUpCCValues = Object.freeze({
|
|
|
9726
9690
|
property: "controllerNodeId",
|
|
9727
9691
|
}),
|
|
9728
9692
|
is: (valueId) => {
|
|
9729
|
-
return valueId.commandClass === CommandClasses["Wake Up"]
|
|
9693
|
+
return (valueId.commandClass === CommandClasses["Wake Up"]
|
|
9730
9694
|
&& valueId.property === "controllerNodeId"
|
|
9731
|
-
&& valueId.propertyKey == undefined;
|
|
9695
|
+
&& valueId.propertyKey == undefined);
|
|
9732
9696
|
},
|
|
9733
9697
|
get meta() {
|
|
9734
9698
|
return {
|
|
@@ -9756,9 +9720,9 @@ export const WakeUpCCValues = Object.freeze({
|
|
|
9756
9720
|
property: "wakeUpInterval",
|
|
9757
9721
|
}),
|
|
9758
9722
|
is: (valueId) => {
|
|
9759
|
-
return valueId.commandClass === CommandClasses["Wake Up"]
|
|
9723
|
+
return (valueId.commandClass === CommandClasses["Wake Up"]
|
|
9760
9724
|
&& valueId.property === "wakeUpInterval"
|
|
9761
|
-
&& valueId.propertyKey == undefined;
|
|
9725
|
+
&& valueId.propertyKey == undefined);
|
|
9762
9726
|
},
|
|
9763
9727
|
get meta() {
|
|
9764
9728
|
return {
|
|
@@ -9786,9 +9750,9 @@ export const WakeUpCCValues = Object.freeze({
|
|
|
9786
9750
|
property: "wakeUpOnDemandSupported",
|
|
9787
9751
|
}),
|
|
9788
9752
|
is: (valueId) => {
|
|
9789
|
-
return valueId.commandClass === CommandClasses["Wake Up"]
|
|
9753
|
+
return (valueId.commandClass === CommandClasses["Wake Up"]
|
|
9790
9754
|
&& valueId.property === "wakeUpOnDemandSupported"
|
|
9791
|
-
&& valueId.propertyKey == undefined;
|
|
9755
|
+
&& valueId.propertyKey == undefined);
|
|
9792
9756
|
},
|
|
9793
9757
|
get meta() {
|
|
9794
9758
|
return ValueMetadata.Any;
|
|
@@ -9815,9 +9779,9 @@ export const WindowCoveringCCValues = Object.freeze({
|
|
|
9815
9779
|
property: "supportedParameters",
|
|
9816
9780
|
}),
|
|
9817
9781
|
is: (valueId) => {
|
|
9818
|
-
return valueId.commandClass === CommandClasses["Window Covering"]
|
|
9782
|
+
return (valueId.commandClass === CommandClasses["Window Covering"]
|
|
9819
9783
|
&& valueId.property === "supportedParameters"
|
|
9820
|
-
&& valueId.propertyKey == undefined;
|
|
9784
|
+
&& valueId.propertyKey == undefined);
|
|
9821
9785
|
},
|
|
9822
9786
|
get meta() {
|
|
9823
9787
|
return ValueMetadata.Any;
|
|
@@ -9857,10 +9821,9 @@ export const WindowCoveringCCValues = Object.freeze({
|
|
|
9857
9821
|
};
|
|
9858
9822
|
}, {
|
|
9859
9823
|
is: (valueId) => {
|
|
9860
|
-
return valueId.commandClass
|
|
9861
|
-
=== CommandClasses["Window Covering"]
|
|
9824
|
+
return (valueId.commandClass === CommandClasses["Window Covering"]
|
|
9862
9825
|
&& (({ property, propertyKey }) => property === "currentValue"
|
|
9863
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9826
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9864
9827
|
},
|
|
9865
9828
|
options: {
|
|
9866
9829
|
internal: false,
|
|
@@ -9903,10 +9866,9 @@ export const WindowCoveringCCValues = Object.freeze({
|
|
|
9903
9866
|
};
|
|
9904
9867
|
}, {
|
|
9905
9868
|
is: (valueId) => {
|
|
9906
|
-
return valueId.commandClass
|
|
9907
|
-
=== CommandClasses["Window Covering"]
|
|
9869
|
+
return (valueId.commandClass === CommandClasses["Window Covering"]
|
|
9908
9870
|
&& (({ property, propertyKey }) => property === "targetValue"
|
|
9909
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9871
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9910
9872
|
},
|
|
9911
9873
|
options: {
|
|
9912
9874
|
internal: false,
|
|
@@ -9944,10 +9906,9 @@ export const WindowCoveringCCValues = Object.freeze({
|
|
|
9944
9906
|
};
|
|
9945
9907
|
}, {
|
|
9946
9908
|
is: (valueId) => {
|
|
9947
|
-
return valueId.commandClass
|
|
9948
|
-
=== CommandClasses["Window Covering"]
|
|
9909
|
+
return (valueId.commandClass === CommandClasses["Window Covering"]
|
|
9949
9910
|
&& (({ property, propertyKey }) => property === "duration"
|
|
9950
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9911
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9951
9912
|
},
|
|
9952
9913
|
options: {
|
|
9953
9914
|
internal: false,
|
|
@@ -9988,10 +9949,9 @@ export const WindowCoveringCCValues = Object.freeze({
|
|
|
9988
9949
|
};
|
|
9989
9950
|
}, {
|
|
9990
9951
|
is: (valueId) => {
|
|
9991
|
-
return valueId.commandClass
|
|
9992
|
-
=== CommandClasses["Window Covering"]
|
|
9952
|
+
return (valueId.commandClass === CommandClasses["Window Covering"]
|
|
9993
9953
|
&& (({ property, propertyKey }) => property === "levelChangeUp"
|
|
9994
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9954
|
+
&& typeof propertyKey === "number")(valueId));
|
|
9995
9955
|
},
|
|
9996
9956
|
options: {
|
|
9997
9957
|
internal: false,
|
|
@@ -10032,10 +9992,9 @@ export const WindowCoveringCCValues = Object.freeze({
|
|
|
10032
9992
|
};
|
|
10033
9993
|
}, {
|
|
10034
9994
|
is: (valueId) => {
|
|
10035
|
-
return valueId.commandClass
|
|
10036
|
-
=== CommandClasses["Window Covering"]
|
|
9995
|
+
return (valueId.commandClass === CommandClasses["Window Covering"]
|
|
10037
9996
|
&& (({ property, propertyKey }) => property === "levelChangeDown"
|
|
10038
|
-
&& typeof propertyKey === "number")(valueId);
|
|
9997
|
+
&& typeof propertyKey === "number")(valueId));
|
|
10039
9998
|
},
|
|
10040
9999
|
options: {
|
|
10041
10000
|
internal: false,
|
|
@@ -10059,9 +10018,9 @@ export const ZWavePlusCCValues = Object.freeze({
|
|
|
10059
10018
|
property: "zwavePlusVersion",
|
|
10060
10019
|
}),
|
|
10061
10020
|
is: (valueId) => {
|
|
10062
|
-
return valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10021
|
+
return (valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10063
10022
|
&& valueId.property === "zwavePlusVersion"
|
|
10064
|
-
&& valueId.propertyKey == undefined;
|
|
10023
|
+
&& valueId.propertyKey == undefined);
|
|
10065
10024
|
},
|
|
10066
10025
|
get meta() {
|
|
10067
10026
|
return ValueMetadata.Any;
|
|
@@ -10086,9 +10045,9 @@ export const ZWavePlusCCValues = Object.freeze({
|
|
|
10086
10045
|
property: "nodeType",
|
|
10087
10046
|
}),
|
|
10088
10047
|
is: (valueId) => {
|
|
10089
|
-
return valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10048
|
+
return (valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10090
10049
|
&& valueId.property === "nodeType"
|
|
10091
|
-
&& valueId.propertyKey == undefined;
|
|
10050
|
+
&& valueId.propertyKey == undefined);
|
|
10092
10051
|
},
|
|
10093
10052
|
get meta() {
|
|
10094
10053
|
return ValueMetadata.Any;
|
|
@@ -10113,9 +10072,9 @@ export const ZWavePlusCCValues = Object.freeze({
|
|
|
10113
10072
|
property: "roleType",
|
|
10114
10073
|
}),
|
|
10115
10074
|
is: (valueId) => {
|
|
10116
|
-
return valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10075
|
+
return (valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10117
10076
|
&& valueId.property === "roleType"
|
|
10118
|
-
&& valueId.propertyKey == undefined;
|
|
10077
|
+
&& valueId.propertyKey == undefined);
|
|
10119
10078
|
},
|
|
10120
10079
|
get meta() {
|
|
10121
10080
|
return ValueMetadata.Any;
|
|
@@ -10140,9 +10099,9 @@ export const ZWavePlusCCValues = Object.freeze({
|
|
|
10140
10099
|
property: "userIcon",
|
|
10141
10100
|
}),
|
|
10142
10101
|
is: (valueId) => {
|
|
10143
|
-
return valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10102
|
+
return (valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10144
10103
|
&& valueId.property === "userIcon"
|
|
10145
|
-
&& valueId.propertyKey == undefined;
|
|
10104
|
+
&& valueId.propertyKey == undefined);
|
|
10146
10105
|
},
|
|
10147
10106
|
get meta() {
|
|
10148
10107
|
return ValueMetadata.Any;
|
|
@@ -10167,9 +10126,9 @@ export const ZWavePlusCCValues = Object.freeze({
|
|
|
10167
10126
|
property: "installerIcon",
|
|
10168
10127
|
}),
|
|
10169
10128
|
is: (valueId) => {
|
|
10170
|
-
return valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10129
|
+
return (valueId.commandClass === CommandClasses["Z-Wave Plus Info"]
|
|
10171
10130
|
&& valueId.property === "installerIcon"
|
|
10172
|
-
&& valueId.propertyKey == undefined;
|
|
10131
|
+
&& valueId.propertyKey == undefined);
|
|
10173
10132
|
},
|
|
10174
10133
|
get meta() {
|
|
10175
10134
|
return ValueMetadata.Any;
|