@zwave-js/cc 15.0.0-beta.0 → 15.0.0-beta.1
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.d.ts +79 -161
- package/build/cjs/cc/AlarmSensorCC.js +12 -50
- package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
- package/build/cjs/cc/AssociationCC.d.ts +63 -199
- package/build/cjs/cc/AssociationCC.js +9 -22
- package/build/cjs/cc/AssociationCC.js.map +2 -2
- package/build/cjs/cc/AssociationGroupInfoCC.d.ts +66 -166
- package/build/cjs/cc/AssociationGroupInfoCC.js +11 -22
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
- package/build/cjs/cc/BarrierOperatorCC.d.ts +86 -294
- package/build/cjs/cc/BarrierOperatorCC.js +12 -44
- package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
- package/build/cjs/cc/BasicCC.d.ts +85 -331
- package/build/cjs/cc/BasicCC.js +15 -46
- package/build/cjs/cc/BasicCC.js.map +2 -2
- package/build/cjs/cc/BatteryCC.d.ts +237 -835
- package/build/cjs/cc/BatteryCC.js +7 -84
- package/build/cjs/cc/BatteryCC.js.map +2 -2
- package/build/cjs/cc/BinarySensorCC.d.ts +34 -99
- package/build/cjs/cc/BinarySensorCC.js +9 -29
- package/build/cjs/cc/BinarySensorCC.js.map +2 -2
- package/build/cjs/cc/BinarySwitchCC.d.ts +45 -197
- package/build/cjs/cc/BinarySwitchCC.js +6 -22
- package/build/cjs/cc/BinarySwitchCC.js.map +2 -2
- package/build/cjs/cc/CentralSceneCC.d.ts +77 -296
- package/build/cjs/cc/CentralSceneCC.js +7 -30
- package/build/cjs/cc/CentralSceneCC.js.map +2 -2
- package/build/cjs/cc/ClimateControlScheduleCC.d.ts +45 -160
- package/build/cjs/cc/ClimateControlScheduleCC.js +5 -24
- package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
- package/build/cjs/cc/ColorSwitchCC.d.ts +130 -457
- package/build/cjs/cc/ColorSwitchCC.js +23 -75
- package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
- package/build/cjs/cc/ConfigurationCC.d.ts +32 -100
- package/build/cjs/cc/ConfigurationCC.js +11 -31
- package/build/cjs/cc/ConfigurationCC.js.map +2 -2
- package/build/cjs/cc/DoorLockCC.d.ts +512 -1823
- package/build/cjs/cc/DoorLockCC.js +51 -156
- package/build/cjs/cc/DoorLockCC.js.map +2 -2
- package/build/cjs/cc/DoorLockLoggingCC.d.ts +11 -63
- package/build/cjs/cc/DoorLockLoggingCC.js +4 -8
- package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
- package/build/cjs/cc/EnergyProductionCC.d.ts +14 -29
- package/build/cjs/cc/EnergyProductionCC.js +5 -17
- package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
- package/build/cjs/cc/EntryControlCC.d.ts +73 -324
- package/build/cjs/cc/EntryControlCC.js +9 -36
- package/build/cjs/cc/EntryControlCC.js.map +2 -2
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +78 -390
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +5 -26
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlModeCC.d.ts +31 -131
- package/build/cjs/cc/HumidityControlModeCC.js +6 -15
- package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +17 -65
- package/build/cjs/cc/HumidityControlOperatingStateCC.js +4 -12
- package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlSetpointCC.d.ts +51 -128
- package/build/cjs/cc/HumidityControlSetpointCC.js +10 -28
- package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
- package/build/cjs/cc/IndicatorCC.d.ts +123 -365
- package/build/cjs/cc/IndicatorCC.js +15 -61
- package/build/cjs/cc/IndicatorCC.js.map +2 -2
- package/build/cjs/cc/IrrigationCC.d.ts +826 -2317
- package/build/cjs/cc/IrrigationCC.js +29 -233
- package/build/cjs/cc/IrrigationCC.js.map +2 -2
- package/build/cjs/cc/LanguageCC.d.ts +31 -133
- package/build/cjs/cc/LanguageCC.js +4 -15
- package/build/cjs/cc/LanguageCC.js.map +2 -2
- package/build/cjs/cc/LockCC.d.ts +14 -64
- package/build/cjs/cc/LockCC.js +4 -12
- package/build/cjs/cc/LockCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerSpecificCC.d.ts +77 -239
- package/build/cjs/cc/ManufacturerSpecificCC.js +5 -26
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
- package/build/cjs/cc/MeterCC.d.ts +119 -393
- package/build/cjs/cc/MeterCC.js +25 -69
- package/build/cjs/cc/MeterCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelAssociationCC.d.ts +66 -166
- package/build/cjs/cc/MultiChannelAssociationCC.js +10 -23
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelCC.d.ts +119 -499
- package/build/cjs/cc/MultiChannelCC.js +18 -46
- package/build/cjs/cc/MultiChannelCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSensorCC.d.ts +46 -130
- package/build/cjs/cc/MultilevelSensorCC.js +12 -33
- package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +160 -525
- package/build/cjs/cc/MultilevelSwitchCC.js +13 -107
- package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
- package/build/cjs/cc/NodeNamingCC.d.ts +33 -135
- package/build/cjs/cc/NodeNamingCC.js +5 -16
- package/build/cjs/cc/NodeNamingCC.js.map +2 -2
- package/build/cjs/cc/NotificationCC.d.ts +262 -702
- package/build/cjs/cc/NotificationCC.js +29 -112
- package/build/cjs/cc/NotificationCC.js.map +2 -2
- package/build/cjs/cc/ProtectionCC.d.ts +118 -524
- package/build/cjs/cc/ProtectionCC.js +15 -50
- package/build/cjs/cc/ProtectionCC.js.map +2 -2
- package/build/cjs/cc/SceneActivationCC.d.ts +33 -132
- package/build/cjs/cc/SceneActivationCC.js +4 -17
- package/build/cjs/cc/SceneActivationCC.js.map +2 -2
- package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +34 -61
- package/build/cjs/cc/SceneActuatorConfigurationCC.js +9 -21
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
- package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +34 -61
- package/build/cjs/cc/SceneControllerConfigurationCC.js +10 -22
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
- package/build/cjs/cc/ScheduleEntryLockCC.d.ts +95 -299
- package/build/cjs/cc/ScheduleEntryLockCC.js +13 -30
- package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
- package/build/cjs/cc/SoundSwitchCC.d.ts +72 -261
- package/build/cjs/cc/SoundSwitchCC.js +11 -43
- package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
- package/build/cjs/cc/SupervisionCC.d.ts +17 -33
- package/build/cjs/cc/SupervisionCC.js +4 -9
- package/build/cjs/cc/SupervisionCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanModeCC.d.ts +44 -195
- package/build/cjs/cc/ThermostatFanModeCC.js +8 -21
- package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanStateCC.d.ts +17 -65
- package/build/cjs/cc/ThermostatFanStateCC.js +4 -12
- package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatModeCC.d.ts +44 -195
- package/build/cjs/cc/ThermostatModeCC.js +8 -21
- package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +17 -65
- package/build/cjs/cc/ThermostatOperatingStateCC.js +4 -12
- package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetpointCC.d.ts +49 -129
- package/build/cjs/cc/ThermostatSetpointCC.js +10 -25
- package/build/cjs/cc/ThermostatSetpointCC.js.map +2 -2
- package/build/cjs/cc/TimeParametersCC.d.ts +12 -63
- package/build/cjs/cc/TimeParametersCC.js +4 -11
- package/build/cjs/cc/TimeParametersCC.js.map +2 -2
- package/build/cjs/cc/UserCodeCC.d.ts +311 -1066
- package/build/cjs/cc/UserCodeCC.js +33 -98
- package/build/cjs/cc/UserCodeCC.js.map +2 -2
- package/build/cjs/cc/VersionCC.d.ts +289 -1003
- package/build/cjs/cc/VersionCC.js +7 -98
- package/build/cjs/cc/VersionCC.js.map +2 -2
- package/build/cjs/cc/WakeUpCC.d.ts +49 -201
- package/build/cjs/cc/WakeUpCC.js +6 -26
- package/build/cjs/cc/WakeUpCC.js.map +2 -2
- package/build/cjs/cc/WindowCoveringCC.d.ts +126 -220
- package/build/cjs/cc/WindowCoveringCC.js +16 -128
- package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
- package/build/cjs/cc/ZWavePlusCC.d.ts +69 -329
- package/build/cjs/cc/ZWavePlusCC.js +4 -25
- package/build/cjs/cc/ZWavePlusCC.js.map +2 -2
- package/build/cjs/cc/_CCValues.generated.d.ts +15814 -0
- package/build/cjs/cc/_CCValues.generated.js +8723 -0
- package/build/cjs/cc/_CCValues.generated.js.map +7 -0
- package/build/cjs/lib/CCValueUtils.d.ts +14 -0
- package/build/cjs/lib/CCValueUtils.js +93 -0
- package/build/cjs/lib/CCValueUtils.js.map +7 -0
- package/build/cjs/lib/Values.d.ts +6 -105
- package/build/cjs/lib/Values.js +13 -107
- package/build/cjs/lib/Values.js.map +3 -3
- package/build/esm/cc/AlarmSensorCC.d.ts +79 -161
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
- package/build/esm/cc/AlarmSensorCC.js +2 -39
- package/build/esm/cc/AlarmSensorCC.js.map +1 -1
- package/build/esm/cc/AssociationCC.d.ts +63 -199
- package/build/esm/cc/AssociationCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationCC.js +2 -14
- package/build/esm/cc/AssociationCC.js.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.d.ts +66 -166
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.js +2 -13
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.d.ts +86 -294
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.js +2 -34
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
- package/build/esm/cc/BasicCC.d.ts +85 -331
- package/build/esm/cc/BasicCC.d.ts.map +1 -1
- package/build/esm/cc/BasicCC.js +2 -32
- package/build/esm/cc/BasicCC.js.map +1 -1
- package/build/esm/cc/BatteryCC.d.ts +237 -835
- package/build/esm/cc/BatteryCC.d.ts.map +1 -1
- package/build/esm/cc/BatteryCC.js +2 -78
- package/build/esm/cc/BatteryCC.js.map +1 -1
- package/build/esm/cc/BinarySensorCC.d.ts +34 -99
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySensorCC.js +2 -16
- package/build/esm/cc/BinarySensorCC.js.map +1 -1
- package/build/esm/cc/BinarySwitchCC.d.ts +45 -197
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySwitchCC.js +2 -17
- package/build/esm/cc/BinarySwitchCC.js.map +1 -1
- package/build/esm/cc/CentralSceneCC.d.ts +77 -296
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
- package/build/esm/cc/CentralSceneCC.js +2 -26
- package/build/esm/cc/CentralSceneCC.js.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.d.ts +45 -160
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.js +2 -23
- package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
- package/build/esm/cc/ColorSwitchCC.d.ts +130 -457
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/ColorSwitchCC.js +2 -52
- package/build/esm/cc/ColorSwitchCC.js.map +1 -1
- package/build/esm/cc/ConfigurationCC.d.ts +32 -100
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/ConfigurationCC.js +2 -15
- package/build/esm/cc/ConfigurationCC.js.map +1 -1
- package/build/esm/cc/DoorLockCC.d.ts +512 -1823
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockCC.js +9 -127
- package/build/esm/cc/DoorLockCC.js.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.d.ts +11 -63
- package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.js +2 -5
- package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
- package/build/esm/cc/EnergyProductionCC.d.ts +14 -29
- package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
- package/build/esm/cc/EnergyProductionCC.js +2 -13
- package/build/esm/cc/EnergyProductionCC.js.map +1 -1
- package/build/esm/cc/EntryControlCC.d.ts +73 -324
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
- package/build/esm/cc/EntryControlCC.js +2 -28
- package/build/esm/cc/EntryControlCC.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +78 -390
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +2 -23
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.d.ts +31 -131
- package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.js +2 -10
- package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +17 -65
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.js +2 -9
- package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.d.ts +51 -128
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.js +2 -19
- package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
- package/build/esm/cc/IndicatorCC.d.ts +123 -365
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
- package/build/esm/cc/IndicatorCC.js +2 -43
- package/build/esm/cc/IndicatorCC.js.map +1 -1
- package/build/esm/cc/IrrigationCC.d.ts +826 -2317
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
- package/build/esm/cc/IrrigationCC.js +3 -222
- package/build/esm/cc/IrrigationCC.js.map +1 -1
- package/build/esm/cc/LanguageCC.d.ts +31 -133
- package/build/esm/cc/LanguageCC.d.ts.map +1 -1
- package/build/esm/cc/LanguageCC.js +2 -12
- package/build/esm/cc/LanguageCC.js.map +1 -1
- package/build/esm/cc/LockCC.d.ts +14 -64
- package/build/esm/cc/LockCC.d.ts.map +1 -1
- package/build/esm/cc/LockCC.js +2 -9
- package/build/esm/cc/LockCC.js.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js +0 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +77 -239
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.js +2 -24
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
- package/build/esm/cc/MeterCC.d.ts +119 -393
- package/build/esm/cc/MeterCC.d.ts.map +1 -1
- package/build/esm/cc/MeterCC.js +3 -49
- package/build/esm/cc/MeterCC.js.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.d.ts +66 -166
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.js +2 -14
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
- package/build/esm/cc/MultiChannelCC.d.ts +119 -499
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelCC.js +2 -30
- package/build/esm/cc/MultiChannelCC.js.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.d.ts +46 -130
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.js +2 -22
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.d.ts +160 -525
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.js +5 -101
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
- package/build/esm/cc/NodeNamingCC.d.ts +33 -135
- package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
- package/build/esm/cc/NodeNamingCC.js +2 -12
- package/build/esm/cc/NodeNamingCC.js.map +1 -1
- package/build/esm/cc/NotificationCC.d.ts +262 -702
- package/build/esm/cc/NotificationCC.d.ts.map +1 -1
- package/build/esm/cc/NotificationCC.js +3 -85
- package/build/esm/cc/NotificationCC.js.map +1 -1
- package/build/esm/cc/ProtectionCC.d.ts +118 -524
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
- package/build/esm/cc/ProtectionCC.js +2 -36
- package/build/esm/cc/ProtectionCC.js.map +1 -1
- package/build/esm/cc/SceneActivationCC.d.ts +33 -132
- package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActivationCC.js +2 -14
- package/build/esm/cc/SceneActivationCC.js.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +34 -61
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.js +2 -14
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts +34 -61
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.js +2 -14
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.d.ts +95 -299
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.js +2 -17
- package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
- package/build/esm/cc/SoundSwitchCC.d.ts +72 -261
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/SoundSwitchCC.js +2 -33
- package/build/esm/cc/SoundSwitchCC.js.map +1 -1
- package/build/esm/cc/SupervisionCC.d.ts +17 -33
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
- package/build/esm/cc/SupervisionCC.js +2 -7
- package/build/esm/cc/SupervisionCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.d.ts +44 -195
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.js +2 -14
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.d.ts +17 -65
- package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.js +2 -9
- package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatModeCC.d.ts +44 -195
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatModeCC.js +2 -14
- package/build/esm/cc/ThermostatModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts +17 -65
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.js +2 -9
- package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.d.ts +49 -129
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.js +2 -16
- package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
- package/build/esm/cc/TimeParametersCC.d.ts +12 -63
- package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
- package/build/esm/cc/TimeParametersCC.js +2 -8
- package/build/esm/cc/TimeParametersCC.js.map +1 -1
- package/build/esm/cc/UserCodeCC.d.ts +311 -1066
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
- package/build/esm/cc/UserCodeCC.js +2 -60
- package/build/esm/cc/UserCodeCC.js.map +1 -1
- package/build/esm/cc/VersionCC.d.ts +289 -1003
- package/build/esm/cc/VersionCC.d.ts.map +1 -1
- package/build/esm/cc/VersionCC.js +2 -92
- package/build/esm/cc/VersionCC.js.map +1 -1
- package/build/esm/cc/WakeUpCC.d.ts +49 -201
- package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
- package/build/esm/cc/WakeUpCC.js +2 -21
- package/build/esm/cc/WakeUpCC.js.map +1 -1
- package/build/esm/cc/WindowCoveringCC.d.ts +126 -220
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
- package/build/esm/cc/WindowCoveringCC.js +3 -103
- package/build/esm/cc/WindowCoveringCC.js.map +1 -1
- package/build/esm/cc/ZWavePlusCC.d.ts +69 -329
- package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
- package/build/esm/cc/ZWavePlusCC.js +2 -25
- package/build/esm/cc/ZWavePlusCC.js.map +1 -1
- package/build/esm/cc/_CCValues.generated.d.ts +15814 -0
- package/build/esm/cc/_CCValues.generated.d.ts.map +1 -0
- package/build/esm/cc/_CCValues.generated.js +9187 -0
- package/build/esm/cc/_CCValues.generated.js.map +1 -0
- package/build/esm/lib/CCValueUtils.d.ts +14 -0
- package/build/esm/lib/CCValueUtils.d.ts.map +1 -0
- package/build/esm/lib/CCValueUtils.js +62 -0
- package/build/esm/lib/CCValueUtils.js.map +1 -0
- package/build/esm/lib/Values.d.ts +6 -105
- package/build/esm/lib/Values.d.ts.map +1 -1
- package/build/esm/lib/Values.js +7 -104
- package/build/esm/lib/Values.js.map +1 -1
- package/package.json +9 -7
|
@@ -1,394 +1,143 @@
|
|
|
1
1
|
import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
|
|
2
|
-
import { CommandClasses, type GetValueDB, type MaybeNotKnown, type MessageOrCCLogEntry, type SupervisionResult,
|
|
2
|
+
import { CommandClasses, type GetValueDB, type MaybeNotKnown, type MessageOrCCLogEntry, type SupervisionResult, type WithAddress } from "@zwave-js/core/safe";
|
|
3
3
|
import { Bytes } from "@zwave-js/shared/safe";
|
|
4
4
|
import { CCAPI, POLL_VALUE, type PollValueImplementation, SET_VALUE, type SetValueImplementation } from "../lib/API.js";
|
|
5
5
|
import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
|
|
6
6
|
import { EntryControlCommand, EntryControlDataTypes, EntryControlEventTypes } from "../lib/_Types.js";
|
|
7
7
|
export declare const EntryControlCCValues: Readonly<{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
keyCacheSize: {
|
|
9
|
+
id: {
|
|
10
|
+
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
11
|
+
readonly property: "keyCacheSize";
|
|
12
|
+
};
|
|
13
|
+
endpoint: (endpoint?: number) => {
|
|
11
14
|
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
12
15
|
readonly endpoint: number;
|
|
13
|
-
readonly property: "
|
|
16
|
+
readonly property: "keyCacheSize";
|
|
14
17
|
};
|
|
15
|
-
|
|
16
|
-
readonly meta:
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
|
|
21
|
-
readonly type: "
|
|
22
|
-
readonly readable: true;
|
|
23
|
-
readonly writeable: true;
|
|
24
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
25
|
-
readonly type: "any";
|
|
26
|
-
readonly readable: true;
|
|
27
|
-
readonly writeable: true;
|
|
28
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
29
|
-
readonly type: "any";
|
|
18
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
19
|
+
readonly meta: {
|
|
20
|
+
readonly label: "Key cache size";
|
|
21
|
+
readonly description: "Number of character that must be stored before sending";
|
|
22
|
+
readonly min: 1;
|
|
23
|
+
readonly max: 32;
|
|
24
|
+
readonly type: "number";
|
|
30
25
|
readonly readable: true;
|
|
31
26
|
readonly writeable: true;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
readonly readable: true;
|
|
35
|
-
readonly writeable: true;
|
|
36
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
37
|
-
readonly type: "any";
|
|
38
|
-
readonly readable: true;
|
|
39
|
-
readonly writeable: true;
|
|
40
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
41
|
-
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
42
|
-
readonly internal: false;
|
|
43
|
-
readonly minVersion: 1;
|
|
44
|
-
readonly secret: false;
|
|
45
|
-
readonly stateful: true;
|
|
46
|
-
readonly supportsEndpoints: true;
|
|
47
|
-
readonly autoCreate: true;
|
|
48
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
49
|
-
readonly internal: false;
|
|
50
|
-
readonly minVersion: 1;
|
|
51
|
-
readonly secret: false;
|
|
52
|
-
readonly stateful: true;
|
|
53
|
-
readonly supportsEndpoints: true;
|
|
54
|
-
readonly autoCreate: true;
|
|
55
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
56
|
-
readonly internal: false;
|
|
57
|
-
readonly minVersion: 1;
|
|
58
|
-
readonly secret: false;
|
|
59
|
-
readonly stateful: true;
|
|
60
|
-
readonly supportsEndpoints: true;
|
|
61
|
-
readonly autoCreate: true;
|
|
62
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
63
|
-
readonly internal: false;
|
|
64
|
-
readonly minVersion: 1;
|
|
65
|
-
readonly secret: false;
|
|
66
|
-
readonly stateful: true;
|
|
67
|
-
readonly supportsEndpoints: true;
|
|
68
|
-
readonly autoCreate: true;
|
|
69
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
70
|
-
readonly internal: false;
|
|
71
|
-
readonly minVersion: 1;
|
|
72
|
-
readonly secret: false;
|
|
73
|
-
readonly stateful: true;
|
|
74
|
-
readonly supportsEndpoints: true;
|
|
75
|
-
readonly autoCreate: true;
|
|
76
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
27
|
+
};
|
|
28
|
+
options: {
|
|
77
29
|
readonly internal: false;
|
|
78
30
|
readonly minVersion: 1;
|
|
79
31
|
readonly secret: false;
|
|
80
32
|
readonly stateful: true;
|
|
81
33
|
readonly supportsEndpoints: true;
|
|
82
34
|
readonly autoCreate: true;
|
|
83
|
-
}
|
|
35
|
+
};
|
|
84
36
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
37
|
+
keyCacheTimeout: {
|
|
38
|
+
id: {
|
|
39
|
+
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
40
|
+
readonly property: "keyCacheTimeout";
|
|
41
|
+
};
|
|
42
|
+
endpoint: (endpoint?: number) => {
|
|
88
43
|
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
89
44
|
readonly endpoint: number;
|
|
90
|
-
readonly property: "
|
|
45
|
+
readonly property: "keyCacheTimeout";
|
|
91
46
|
};
|
|
92
|
-
|
|
93
|
-
readonly meta:
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly writeable: true;
|
|
101
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
102
|
-
readonly type: "any";
|
|
103
|
-
readonly readable: true;
|
|
104
|
-
readonly writeable: true;
|
|
105
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
106
|
-
readonly type: "any";
|
|
47
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
48
|
+
readonly meta: {
|
|
49
|
+
readonly label: "Key cache timeout";
|
|
50
|
+
readonly unit: "seconds";
|
|
51
|
+
readonly description: "How long the key cache must wait for additional characters";
|
|
52
|
+
readonly min: 1;
|
|
53
|
+
readonly max: 10;
|
|
54
|
+
readonly type: "number";
|
|
107
55
|
readonly readable: true;
|
|
108
56
|
readonly writeable: true;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
readonly readable: true;
|
|
112
|
-
readonly writeable: true;
|
|
113
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
114
|
-
readonly type: "any";
|
|
115
|
-
readonly readable: true;
|
|
116
|
-
readonly writeable: true;
|
|
117
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
118
|
-
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
119
|
-
readonly internal: false;
|
|
120
|
-
readonly minVersion: 1;
|
|
121
|
-
readonly secret: false;
|
|
122
|
-
readonly stateful: true;
|
|
123
|
-
readonly supportsEndpoints: true;
|
|
124
|
-
readonly autoCreate: true;
|
|
125
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
126
|
-
readonly internal: false;
|
|
127
|
-
readonly minVersion: 1;
|
|
128
|
-
readonly secret: false;
|
|
129
|
-
readonly stateful: true;
|
|
130
|
-
readonly supportsEndpoints: true;
|
|
131
|
-
readonly autoCreate: true;
|
|
132
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
133
|
-
readonly internal: false;
|
|
134
|
-
readonly minVersion: 1;
|
|
135
|
-
readonly secret: false;
|
|
136
|
-
readonly stateful: true;
|
|
137
|
-
readonly supportsEndpoints: true;
|
|
138
|
-
readonly autoCreate: true;
|
|
139
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
140
|
-
readonly internal: false;
|
|
141
|
-
readonly minVersion: 1;
|
|
142
|
-
readonly secret: false;
|
|
143
|
-
readonly stateful: true;
|
|
144
|
-
readonly supportsEndpoints: true;
|
|
145
|
-
readonly autoCreate: true;
|
|
146
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
147
|
-
readonly internal: false;
|
|
148
|
-
readonly minVersion: 1;
|
|
149
|
-
readonly secret: false;
|
|
150
|
-
readonly stateful: true;
|
|
151
|
-
readonly supportsEndpoints: true;
|
|
152
|
-
readonly autoCreate: true;
|
|
153
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
57
|
+
};
|
|
58
|
+
options: {
|
|
154
59
|
readonly internal: false;
|
|
155
60
|
readonly minVersion: 1;
|
|
156
61
|
readonly secret: false;
|
|
157
62
|
readonly stateful: true;
|
|
158
63
|
readonly supportsEndpoints: true;
|
|
159
64
|
readonly autoCreate: true;
|
|
160
|
-
}
|
|
65
|
+
};
|
|
161
66
|
};
|
|
162
67
|
supportedDataTypes: {
|
|
163
|
-
|
|
164
|
-
|
|
68
|
+
id: {
|
|
69
|
+
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
70
|
+
readonly property: "supportedDataTypes";
|
|
71
|
+
};
|
|
72
|
+
endpoint: (endpoint?: number) => {
|
|
165
73
|
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
166
74
|
readonly endpoint: number;
|
|
167
75
|
readonly property: "supportedDataTypes";
|
|
168
76
|
};
|
|
169
|
-
|
|
170
|
-
readonly meta: Readonly<
|
|
171
|
-
readonly type: "any";
|
|
172
|
-
readonly readable: true;
|
|
173
|
-
readonly writeable: true;
|
|
174
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
77
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
78
|
+
readonly meta: Readonly<{
|
|
175
79
|
readonly type: "any";
|
|
176
80
|
readonly readable: true;
|
|
177
81
|
readonly writeable: true;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
readonly
|
|
181
|
-
readonly writeable: true;
|
|
182
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
183
|
-
readonly type: "any";
|
|
184
|
-
readonly readable: true;
|
|
185
|
-
readonly writeable: true;
|
|
186
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
187
|
-
readonly type: "any";
|
|
188
|
-
readonly readable: true;
|
|
189
|
-
readonly writeable: true;
|
|
190
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
191
|
-
readonly type: "any";
|
|
192
|
-
readonly readable: true;
|
|
193
|
-
readonly writeable: true;
|
|
194
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
195
|
-
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
196
|
-
readonly internal: false;
|
|
197
|
-
readonly minVersion: 1;
|
|
198
|
-
readonly secret: false;
|
|
199
|
-
readonly stateful: true;
|
|
200
|
-
readonly supportsEndpoints: true;
|
|
201
|
-
readonly autoCreate: true;
|
|
202
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
203
|
-
readonly internal: false;
|
|
204
|
-
readonly minVersion: 1;
|
|
205
|
-
readonly secret: false;
|
|
206
|
-
readonly stateful: true;
|
|
207
|
-
readonly supportsEndpoints: true;
|
|
208
|
-
readonly autoCreate: true;
|
|
209
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
210
|
-
readonly internal: false;
|
|
211
|
-
readonly minVersion: 1;
|
|
212
|
-
readonly secret: false;
|
|
213
|
-
readonly stateful: true;
|
|
214
|
-
readonly supportsEndpoints: true;
|
|
215
|
-
readonly autoCreate: true;
|
|
216
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
217
|
-
readonly internal: false;
|
|
218
|
-
readonly minVersion: 1;
|
|
219
|
-
readonly secret: false;
|
|
220
|
-
readonly stateful: true;
|
|
221
|
-
readonly supportsEndpoints: true;
|
|
222
|
-
readonly autoCreate: true;
|
|
223
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
224
|
-
readonly internal: false;
|
|
82
|
+
}>;
|
|
83
|
+
options: {
|
|
84
|
+
readonly internal: true;
|
|
225
85
|
readonly minVersion: 1;
|
|
226
86
|
readonly secret: false;
|
|
227
87
|
readonly stateful: true;
|
|
228
88
|
readonly supportsEndpoints: true;
|
|
229
89
|
readonly autoCreate: true;
|
|
230
|
-
}
|
|
231
|
-
readonly internal: false;
|
|
232
|
-
readonly minVersion: 1;
|
|
233
|
-
readonly secret: false;
|
|
234
|
-
readonly stateful: true;
|
|
235
|
-
readonly supportsEndpoints: true;
|
|
236
|
-
readonly autoCreate: true;
|
|
237
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
90
|
+
};
|
|
238
91
|
};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
92
|
+
supportedEventTypes: {
|
|
93
|
+
id: {
|
|
94
|
+
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
95
|
+
readonly property: "supportedEventTypes";
|
|
96
|
+
};
|
|
97
|
+
endpoint: (endpoint?: number) => {
|
|
242
98
|
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
243
99
|
readonly endpoint: number;
|
|
244
|
-
readonly property: "
|
|
100
|
+
readonly property: "supportedEventTypes";
|
|
245
101
|
};
|
|
246
|
-
|
|
247
|
-
readonly meta: Readonly<
|
|
102
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
103
|
+
readonly meta: Readonly<{
|
|
248
104
|
readonly type: "any";
|
|
249
105
|
readonly readable: true;
|
|
250
106
|
readonly writeable: true;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
readonly
|
|
254
|
-
readonly writeable: true;
|
|
255
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
256
|
-
readonly type: "any";
|
|
257
|
-
readonly readable: true;
|
|
258
|
-
readonly writeable: true;
|
|
259
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
260
|
-
readonly type: "any";
|
|
261
|
-
readonly readable: true;
|
|
262
|
-
readonly writeable: true;
|
|
263
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
264
|
-
readonly type: "any";
|
|
265
|
-
readonly readable: true;
|
|
266
|
-
readonly writeable: true;
|
|
267
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
268
|
-
readonly type: "any";
|
|
269
|
-
readonly readable: true;
|
|
270
|
-
readonly writeable: true;
|
|
271
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
272
|
-
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
273
|
-
readonly internal: false;
|
|
274
|
-
readonly minVersion: 1;
|
|
275
|
-
readonly secret: false;
|
|
276
|
-
readonly stateful: true;
|
|
277
|
-
readonly supportsEndpoints: true;
|
|
278
|
-
readonly autoCreate: true;
|
|
279
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
280
|
-
readonly internal: false;
|
|
281
|
-
readonly minVersion: 1;
|
|
282
|
-
readonly secret: false;
|
|
283
|
-
readonly stateful: true;
|
|
284
|
-
readonly supportsEndpoints: true;
|
|
285
|
-
readonly autoCreate: true;
|
|
286
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
287
|
-
readonly internal: false;
|
|
288
|
-
readonly minVersion: 1;
|
|
289
|
-
readonly secret: false;
|
|
290
|
-
readonly stateful: true;
|
|
291
|
-
readonly supportsEndpoints: true;
|
|
292
|
-
readonly autoCreate: true;
|
|
293
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
294
|
-
readonly internal: false;
|
|
107
|
+
}>;
|
|
108
|
+
options: {
|
|
109
|
+
readonly internal: true;
|
|
295
110
|
readonly minVersion: 1;
|
|
296
111
|
readonly secret: false;
|
|
297
112
|
readonly stateful: true;
|
|
298
113
|
readonly supportsEndpoints: true;
|
|
299
114
|
readonly autoCreate: true;
|
|
300
|
-
}
|
|
301
|
-
readonly internal: false;
|
|
302
|
-
readonly minVersion: 1;
|
|
303
|
-
readonly secret: false;
|
|
304
|
-
readonly stateful: true;
|
|
305
|
-
readonly supportsEndpoints: true;
|
|
306
|
-
readonly autoCreate: true;
|
|
307
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
308
|
-
readonly internal: false;
|
|
309
|
-
readonly minVersion: 1;
|
|
310
|
-
readonly secret: false;
|
|
311
|
-
readonly stateful: true;
|
|
312
|
-
readonly supportsEndpoints: true;
|
|
313
|
-
readonly autoCreate: true;
|
|
314
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
115
|
+
};
|
|
315
116
|
};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
117
|
+
supportedKeys: {
|
|
118
|
+
id: {
|
|
119
|
+
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
120
|
+
readonly property: "supportedKeys";
|
|
121
|
+
};
|
|
122
|
+
endpoint: (endpoint?: number) => {
|
|
319
123
|
readonly commandClass: (typeof CommandClasses)["Entry Control"];
|
|
320
124
|
readonly endpoint: number;
|
|
321
|
-
readonly property: "
|
|
125
|
+
readonly property: "supportedKeys";
|
|
322
126
|
};
|
|
323
|
-
|
|
324
|
-
readonly meta: Readonly<
|
|
325
|
-
readonly type: "any";
|
|
326
|
-
readonly readable: true;
|
|
327
|
-
readonly writeable: true;
|
|
328
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
329
|
-
readonly type: "any";
|
|
330
|
-
readonly readable: true;
|
|
331
|
-
readonly writeable: true;
|
|
332
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
127
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
128
|
+
readonly meta: Readonly<{
|
|
333
129
|
readonly type: "any";
|
|
334
130
|
readonly readable: true;
|
|
335
131
|
readonly writeable: true;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
readonly
|
|
339
|
-
readonly writeable: true;
|
|
340
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
341
|
-
readonly type: "any";
|
|
342
|
-
readonly readable: true;
|
|
343
|
-
readonly writeable: true;
|
|
344
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
345
|
-
readonly type: "any";
|
|
346
|
-
readonly readable: true;
|
|
347
|
-
readonly writeable: true;
|
|
348
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
349
|
-
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
350
|
-
readonly internal: false;
|
|
132
|
+
}>;
|
|
133
|
+
options: {
|
|
134
|
+
readonly internal: true;
|
|
351
135
|
readonly minVersion: 1;
|
|
352
136
|
readonly secret: false;
|
|
353
137
|
readonly stateful: true;
|
|
354
138
|
readonly supportsEndpoints: true;
|
|
355
139
|
readonly autoCreate: true;
|
|
356
|
-
}
|
|
357
|
-
readonly internal: false;
|
|
358
|
-
readonly minVersion: 1;
|
|
359
|
-
readonly secret: false;
|
|
360
|
-
readonly stateful: true;
|
|
361
|
-
readonly supportsEndpoints: true;
|
|
362
|
-
readonly autoCreate: true;
|
|
363
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
364
|
-
readonly internal: false;
|
|
365
|
-
readonly minVersion: 1;
|
|
366
|
-
readonly secret: false;
|
|
367
|
-
readonly stateful: true;
|
|
368
|
-
readonly supportsEndpoints: true;
|
|
369
|
-
readonly autoCreate: true;
|
|
370
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
371
|
-
readonly internal: false;
|
|
372
|
-
readonly minVersion: 1;
|
|
373
|
-
readonly secret: false;
|
|
374
|
-
readonly stateful: true;
|
|
375
|
-
readonly supportsEndpoints: true;
|
|
376
|
-
readonly autoCreate: true;
|
|
377
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
378
|
-
readonly internal: false;
|
|
379
|
-
readonly minVersion: 1;
|
|
380
|
-
readonly secret: false;
|
|
381
|
-
readonly stateful: true;
|
|
382
|
-
readonly supportsEndpoints: true;
|
|
383
|
-
readonly autoCreate: true;
|
|
384
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
385
|
-
readonly internal: false;
|
|
386
|
-
readonly minVersion: 1;
|
|
387
|
-
readonly secret: false;
|
|
388
|
-
readonly stateful: true;
|
|
389
|
-
readonly supportsEndpoints: true;
|
|
390
|
-
readonly autoCreate: true;
|
|
391
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
140
|
+
};
|
|
392
141
|
};
|
|
393
142
|
}>;
|
|
394
143
|
export declare class EntryControlCCAPI extends CCAPI {
|
|
@@ -39,7 +39,7 @@ __export(EntryControlCC_exports, {
|
|
|
39
39
|
EntryControlCCKeySupportedGet: () => EntryControlCCKeySupportedGet,
|
|
40
40
|
EntryControlCCKeySupportedReport: () => EntryControlCCKeySupportedReport,
|
|
41
41
|
EntryControlCCNotification: () => EntryControlCCNotification,
|
|
42
|
-
EntryControlCCValues: () => EntryControlCCValues
|
|
42
|
+
EntryControlCCValues: () => import_CCValues_generated.EntryControlCCValues
|
|
43
43
|
});
|
|
44
44
|
module.exports = __toCommonJS(EntryControlCC_exports);
|
|
45
45
|
var __validateArgs = __toESM(require("./EntryControlCC._validateArgs.js"), 1);
|
|
@@ -52,6 +52,7 @@ var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
|
|
|
52
52
|
var import_Values = require("../lib/Values.js");
|
|
53
53
|
var import_Types = require("../lib/_Types.js");
|
|
54
54
|
var ccUtils = __toESM(require("../lib/utils.js"), 1);
|
|
55
|
+
var import_CCValues_generated = require("./_CCValues.generated.js");
|
|
55
56
|
var __runInitializers = function(thisArg, initializers, value) {
|
|
56
57
|
var useValue = arguments.length > 2;
|
|
57
58
|
for (var i = 0; i < initializers.length; i++) {
|
|
@@ -93,34 +94,6 @@ var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializ
|
|
|
93
94
|
done = true;
|
|
94
95
|
};
|
|
95
96
|
const { validateArgs_EntryControlCCAPI_setConfiguration } = __validateArgs;
|
|
96
|
-
const EntryControlCCValues = Object.freeze({
|
|
97
|
-
...import_Values.V.defineStaticCCValues(import_safe.CommandClasses["Entry Control"], {
|
|
98
|
-
...import_Values.V.staticProperty("keyCacheSize", {
|
|
99
|
-
...import_safe.ValueMetadata.UInt8,
|
|
100
|
-
label: "Key cache size",
|
|
101
|
-
description: "Number of character that must be stored before sending",
|
|
102
|
-
min: 1,
|
|
103
|
-
max: 32
|
|
104
|
-
}),
|
|
105
|
-
...import_Values.V.staticProperty("keyCacheTimeout", {
|
|
106
|
-
...import_safe.ValueMetadata.UInt8,
|
|
107
|
-
label: "Key cache timeout",
|
|
108
|
-
unit: "seconds",
|
|
109
|
-
description: "How long the key cache must wait for additional characters",
|
|
110
|
-
min: 1,
|
|
111
|
-
max: 10
|
|
112
|
-
}),
|
|
113
|
-
...import_Values.V.staticProperty("supportedDataTypes", void 0, {
|
|
114
|
-
internal: true
|
|
115
|
-
}),
|
|
116
|
-
...import_Values.V.staticProperty("supportedEventTypes", void 0, {
|
|
117
|
-
internal: true
|
|
118
|
-
}),
|
|
119
|
-
...import_Values.V.staticProperty("supportedKeys", void 0, {
|
|
120
|
-
internal: true
|
|
121
|
-
})
|
|
122
|
-
})
|
|
123
|
-
});
|
|
124
97
|
let EntryControlCCAPI = (() => {
|
|
125
98
|
let _classDecorators = [(0, import_CommandClassDecorators.API)(import_safe.CommandClasses["Entry Control"])];
|
|
126
99
|
let _classDescriptor;
|
|
@@ -218,7 +191,7 @@ let EntryControlCCAPI = (() => {
|
|
|
218
191
|
let keyCacheTimeout = 2;
|
|
219
192
|
if (property === "keyCacheTimeout") {
|
|
220
193
|
keyCacheTimeout = value;
|
|
221
|
-
const oldKeyCacheSize = this.tryGetValueDB()?.getValue(EntryControlCCValues.keyCacheSize.endpoint(this.endpoint.index));
|
|
194
|
+
const oldKeyCacheSize = this.tryGetValueDB()?.getValue(import_CCValues_generated.EntryControlCCValues.keyCacheSize.endpoint(this.endpoint.index));
|
|
222
195
|
if (oldKeyCacheSize == void 0) {
|
|
223
196
|
throw new import_safe.ZWaveError(`The "keyCacheTimeout" property cannot be changed before the key cache size is known!`, import_safe.ZWaveErrorCodes.Argument_Invalid);
|
|
224
197
|
}
|
|
@@ -249,7 +222,7 @@ let EntryControlCCAPI = (() => {
|
|
|
249
222
|
return EntryControlCCAPI2 = _classThis;
|
|
250
223
|
})();
|
|
251
224
|
let EntryControlCC = (() => {
|
|
252
|
-
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Entry Control"]), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(EntryControlCCValues)];
|
|
225
|
+
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Entry Control"]), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.EntryControlCCValues)];
|
|
253
226
|
let _classDescriptor;
|
|
254
227
|
let _classExtraInitializers = [];
|
|
255
228
|
let _classThis;
|
|
@@ -461,7 +434,7 @@ let EntryControlCCNotification = (() => {
|
|
|
461
434
|
return EntryControlCCNotification2 = _classThis;
|
|
462
435
|
})();
|
|
463
436
|
let EntryControlCCKeySupportedReport = (() => {
|
|
464
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.EntryControlCommand.KeySupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("supportedKeys", EntryControlCCValues.supportedKeys)];
|
|
437
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.EntryControlCommand.KeySupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("supportedKeys", import_CCValues_generated.EntryControlCCValues.supportedKeys)];
|
|
465
438
|
let _classDescriptor;
|
|
466
439
|
let _classExtraInitializers = [];
|
|
467
440
|
let _classThis;
|
|
@@ -528,7 +501,7 @@ let EntryControlCCKeySupportedGet = (() => {
|
|
|
528
501
|
return EntryControlCCKeySupportedGet2 = _classThis;
|
|
529
502
|
})();
|
|
530
503
|
let EntryControlCCEventSupportedReport = (() => {
|
|
531
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.EntryControlCommand.EventSupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("supportedDataTypes", EntryControlCCValues.supportedDataTypes), (0, import_CommandClassDecorators.ccValueProperty)("supportedEventTypes", EntryControlCCValues.supportedEventTypes)];
|
|
504
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.EntryControlCommand.EventSupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("supportedDataTypes", import_CCValues_generated.EntryControlCCValues.supportedDataTypes), (0, import_CommandClassDecorators.ccValueProperty)("supportedEventTypes", import_CCValues_generated.EntryControlCCValues.supportedEventTypes)];
|
|
532
505
|
let _classDescriptor;
|
|
533
506
|
let _classExtraInitializers = [];
|
|
534
507
|
let _classThis;
|
|
@@ -589,13 +562,13 @@ let EntryControlCCEventSupportedReport = (() => {
|
|
|
589
562
|
persistValues(ctx) {
|
|
590
563
|
if (!super.persistValues(ctx))
|
|
591
564
|
return false;
|
|
592
|
-
const keyCacheSizeValue = EntryControlCCValues.keyCacheSize;
|
|
565
|
+
const keyCacheSizeValue = import_CCValues_generated.EntryControlCCValues.keyCacheSize;
|
|
593
566
|
this.setMetadata(ctx, keyCacheSizeValue, {
|
|
594
567
|
...keyCacheSizeValue.meta,
|
|
595
568
|
min: this.minKeyCacheSize,
|
|
596
569
|
max: this.maxKeyCacheSize
|
|
597
570
|
});
|
|
598
|
-
const keyCacheTimeoutValue = EntryControlCCValues.keyCacheTimeout;
|
|
571
|
+
const keyCacheTimeoutValue = import_CCValues_generated.EntryControlCCValues.keyCacheTimeout;
|
|
599
572
|
this.setMetadata(ctx, keyCacheTimeoutValue, {
|
|
600
573
|
...keyCacheTimeoutValue.meta,
|
|
601
574
|
min: this.minKeyCacheTimeout,
|
|
@@ -649,7 +622,7 @@ let EntryControlCCEventSupportedGet = (() => {
|
|
|
649
622
|
return EntryControlCCEventSupportedGet2 = _classThis;
|
|
650
623
|
})();
|
|
651
624
|
let EntryControlCCConfigurationReport = (() => {
|
|
652
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.EntryControlCommand.ConfigurationReport), (0, import_CommandClassDecorators.ccValueProperty)("keyCacheSize", EntryControlCCValues.keyCacheSize), (0, import_CommandClassDecorators.ccValueProperty)("keyCacheTimeout", EntryControlCCValues.keyCacheTimeout)];
|
|
625
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.EntryControlCommand.ConfigurationReport), (0, import_CommandClassDecorators.ccValueProperty)("keyCacheSize", import_CCValues_generated.EntryControlCCValues.keyCacheSize), (0, import_CommandClassDecorators.ccValueProperty)("keyCacheTimeout", import_CCValues_generated.EntryControlCCValues.keyCacheTimeout)];
|
|
653
626
|
let _classDescriptor;
|
|
654
627
|
let _classExtraInitializers = [];
|
|
655
628
|
let _classThis;
|