@zwave-js/cc 15.0.0-beta.0 → 15.0.0-beta.2
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,361 +1,142 @@
|
|
|
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 } from "../lib/CommandClass.js";
|
|
6
6
|
import { CentralSceneCommand, CentralSceneKeys } from "../lib/_Types.js";
|
|
7
7
|
export declare const CentralSceneCCValues: Readonly<{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
readonly type: "any";
|
|
15
|
-
readonly readable: true;
|
|
16
|
-
readonly writeable: true;
|
|
17
|
-
}>, ("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<{
|
|
18
|
-
readonly type: "any";
|
|
19
|
-
readonly readable: true;
|
|
20
|
-
readonly writeable: true;
|
|
21
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
22
|
-
readonly type: "any";
|
|
23
|
-
readonly readable: true;
|
|
24
|
-
readonly writeable: true;
|
|
25
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
26
|
-
readonly type: "any";
|
|
27
|
-
readonly readable: true;
|
|
28
|
-
readonly writeable: true;
|
|
29
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
30
|
-
readonly type: "any";
|
|
31
|
-
readonly readable: true;
|
|
32
|
-
readonly writeable: true;
|
|
33
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
34
|
-
readonly id: ValueIDBase;
|
|
35
|
-
readonly endpoint: (endpoint?: number | undefined) => {
|
|
8
|
+
sceneCount: {
|
|
9
|
+
id: {
|
|
10
|
+
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
11
|
+
readonly property: "sceneCount";
|
|
12
|
+
};
|
|
13
|
+
endpoint: (endpoint?: number) => {
|
|
36
14
|
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
37
15
|
readonly endpoint: number;
|
|
38
|
-
readonly property: "
|
|
39
|
-
readonly propertyKey: string;
|
|
16
|
+
readonly property: "sceneCount";
|
|
40
17
|
};
|
|
41
|
-
}) & {
|
|
42
18
|
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
19
|
+
readonly meta: Readonly<{
|
|
20
|
+
readonly type: "any";
|
|
21
|
+
readonly readable: true;
|
|
22
|
+
readonly writeable: true;
|
|
23
|
+
}>;
|
|
24
|
+
options: {
|
|
25
|
+
readonly internal: true;
|
|
46
26
|
readonly minVersion: 1;
|
|
27
|
+
readonly secret: false;
|
|
28
|
+
readonly stateful: true;
|
|
47
29
|
readonly supportsEndpoints: true;
|
|
48
30
|
readonly autoCreate: true;
|
|
49
|
-
readonly stateful: false;
|
|
50
31
|
};
|
|
51
32
|
};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
33
|
+
supportsSlowRefresh: {
|
|
34
|
+
id: {
|
|
35
|
+
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
36
|
+
readonly property: "supportsSlowRefresh";
|
|
37
|
+
};
|
|
38
|
+
endpoint: (endpoint?: number) => {
|
|
55
39
|
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
56
40
|
readonly endpoint: number;
|
|
57
|
-
readonly property: "
|
|
41
|
+
readonly property: "supportsSlowRefresh";
|
|
58
42
|
};
|
|
59
|
-
|
|
60
|
-
readonly meta: Readonly<
|
|
61
|
-
readonly type: "any";
|
|
62
|
-
readonly readable: true;
|
|
63
|
-
readonly writeable: true;
|
|
64
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
65
|
-
readonly type: "any";
|
|
66
|
-
readonly readable: true;
|
|
67
|
-
readonly writeable: true;
|
|
68
|
-
}>, ("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<{
|
|
69
|
-
readonly type: "any";
|
|
70
|
-
readonly readable: true;
|
|
71
|
-
readonly writeable: true;
|
|
72
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
73
|
-
readonly type: "any";
|
|
74
|
-
readonly readable: true;
|
|
75
|
-
readonly writeable: true;
|
|
76
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
77
|
-
readonly type: "any";
|
|
78
|
-
readonly readable: true;
|
|
79
|
-
readonly writeable: true;
|
|
80
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
43
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
44
|
+
readonly meta: Readonly<{
|
|
81
45
|
readonly type: "any";
|
|
82
46
|
readonly readable: true;
|
|
83
47
|
readonly writeable: true;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
readonly internal:
|
|
87
|
-
readonly minVersion: 1;
|
|
88
|
-
readonly secret: false;
|
|
89
|
-
readonly stateful: true;
|
|
90
|
-
readonly supportsEndpoints: true;
|
|
91
|
-
readonly autoCreate: true;
|
|
92
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
93
|
-
readonly internal: false;
|
|
48
|
+
}>;
|
|
49
|
+
options: {
|
|
50
|
+
readonly internal: true;
|
|
94
51
|
readonly minVersion: 1;
|
|
95
52
|
readonly secret: false;
|
|
96
53
|
readonly stateful: true;
|
|
97
54
|
readonly supportsEndpoints: true;
|
|
98
55
|
readonly autoCreate: true;
|
|
99
|
-
}
|
|
100
|
-
readonly internal: false;
|
|
101
|
-
readonly minVersion: 1;
|
|
102
|
-
readonly secret: false;
|
|
103
|
-
readonly stateful: true;
|
|
104
|
-
readonly supportsEndpoints: true;
|
|
105
|
-
readonly autoCreate: true;
|
|
106
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
107
|
-
readonly internal: false;
|
|
108
|
-
readonly minVersion: 1;
|
|
109
|
-
readonly secret: false;
|
|
110
|
-
readonly stateful: true;
|
|
111
|
-
readonly supportsEndpoints: true;
|
|
112
|
-
readonly autoCreate: true;
|
|
113
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
114
|
-
readonly internal: false;
|
|
115
|
-
readonly minVersion: 1;
|
|
116
|
-
readonly secret: false;
|
|
117
|
-
readonly stateful: true;
|
|
118
|
-
readonly supportsEndpoints: true;
|
|
119
|
-
readonly autoCreate: true;
|
|
120
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
121
|
-
readonly internal: false;
|
|
122
|
-
readonly minVersion: 1;
|
|
123
|
-
readonly secret: false;
|
|
124
|
-
readonly stateful: true;
|
|
125
|
-
readonly supportsEndpoints: true;
|
|
126
|
-
readonly autoCreate: true;
|
|
127
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
56
|
+
};
|
|
128
57
|
};
|
|
129
58
|
supportedKeyAttributes: {
|
|
130
|
-
|
|
131
|
-
|
|
59
|
+
id: {
|
|
60
|
+
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
61
|
+
readonly property: "supportedKeyAttributes";
|
|
62
|
+
};
|
|
63
|
+
endpoint: (endpoint?: number) => {
|
|
132
64
|
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
133
65
|
readonly endpoint: number;
|
|
134
66
|
readonly property: "supportedKeyAttributes";
|
|
135
67
|
};
|
|
136
|
-
|
|
137
|
-
readonly meta: Readonly<
|
|
138
|
-
readonly type: "any";
|
|
139
|
-
readonly readable: true;
|
|
140
|
-
readonly writeable: true;
|
|
141
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
142
|
-
readonly type: "any";
|
|
143
|
-
readonly readable: true;
|
|
144
|
-
readonly writeable: true;
|
|
145
|
-
}>, ("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<{
|
|
146
|
-
readonly type: "any";
|
|
147
|
-
readonly readable: true;
|
|
148
|
-
readonly writeable: true;
|
|
149
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
150
|
-
readonly type: "any";
|
|
151
|
-
readonly readable: true;
|
|
152
|
-
readonly writeable: true;
|
|
153
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
154
|
-
readonly type: "any";
|
|
155
|
-
readonly readable: true;
|
|
156
|
-
readonly writeable: true;
|
|
157
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
68
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
69
|
+
readonly meta: Readonly<{
|
|
158
70
|
readonly type: "any";
|
|
159
71
|
readonly readable: true;
|
|
160
72
|
readonly writeable: true;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
readonly internal:
|
|
164
|
-
readonly minVersion: 1;
|
|
165
|
-
readonly secret: false;
|
|
166
|
-
readonly stateful: true;
|
|
167
|
-
readonly supportsEndpoints: true;
|
|
168
|
-
readonly autoCreate: true;
|
|
169
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
170
|
-
readonly internal: false;
|
|
171
|
-
readonly minVersion: 1;
|
|
172
|
-
readonly secret: false;
|
|
173
|
-
readonly stateful: true;
|
|
174
|
-
readonly supportsEndpoints: true;
|
|
175
|
-
readonly autoCreate: true;
|
|
176
|
-
}, ("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"]> ? {
|
|
177
|
-
readonly internal: false;
|
|
73
|
+
}>;
|
|
74
|
+
options: {
|
|
75
|
+
readonly internal: true;
|
|
178
76
|
readonly minVersion: 1;
|
|
179
77
|
readonly secret: false;
|
|
180
78
|
readonly stateful: true;
|
|
181
79
|
readonly supportsEndpoints: true;
|
|
182
80
|
readonly autoCreate: true;
|
|
183
|
-
}
|
|
184
|
-
readonly internal: false;
|
|
185
|
-
readonly minVersion: 1;
|
|
186
|
-
readonly secret: false;
|
|
187
|
-
readonly stateful: true;
|
|
188
|
-
readonly supportsEndpoints: true;
|
|
189
|
-
readonly autoCreate: true;
|
|
190
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
191
|
-
readonly internal: false;
|
|
192
|
-
readonly minVersion: 1;
|
|
193
|
-
readonly secret: false;
|
|
194
|
-
readonly stateful: true;
|
|
195
|
-
readonly supportsEndpoints: true;
|
|
196
|
-
readonly autoCreate: true;
|
|
197
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
198
|
-
readonly internal: false;
|
|
199
|
-
readonly minVersion: 1;
|
|
200
|
-
readonly secret: false;
|
|
201
|
-
readonly stateful: true;
|
|
202
|
-
readonly supportsEndpoints: true;
|
|
203
|
-
readonly autoCreate: true;
|
|
204
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
81
|
+
};
|
|
205
82
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
83
|
+
slowRefresh: {
|
|
84
|
+
id: {
|
|
85
|
+
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
86
|
+
readonly property: "slowRefresh";
|
|
87
|
+
};
|
|
88
|
+
endpoint: (endpoint?: number) => {
|
|
209
89
|
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
210
90
|
readonly endpoint: number;
|
|
211
|
-
readonly property: "
|
|
91
|
+
readonly property: "slowRefresh";
|
|
212
92
|
};
|
|
213
|
-
|
|
214
|
-
readonly meta:
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
219
|
-
readonly type: "any";
|
|
220
|
-
readonly readable: true;
|
|
221
|
-
readonly writeable: true;
|
|
222
|
-
}>, ("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<{
|
|
223
|
-
readonly type: "any";
|
|
224
|
-
readonly readable: true;
|
|
225
|
-
readonly writeable: true;
|
|
226
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
227
|
-
readonly type: "any";
|
|
228
|
-
readonly readable: true;
|
|
229
|
-
readonly writeable: true;
|
|
230
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
231
|
-
readonly type: "any";
|
|
232
|
-
readonly readable: true;
|
|
233
|
-
readonly writeable: true;
|
|
234
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
235
|
-
readonly type: "any";
|
|
93
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
94
|
+
readonly meta: {
|
|
95
|
+
readonly label: "Send held down notifications at a slow rate";
|
|
96
|
+
readonly description: "When this is true, KeyHeldDown notifications are sent every 55s. When this is false, the notifications are sent every 200ms.";
|
|
97
|
+
readonly type: "boolean";
|
|
236
98
|
readonly readable: true;
|
|
237
99
|
readonly writeable: true;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
readonly internal: false;
|
|
241
|
-
readonly minVersion: 1;
|
|
242
|
-
readonly secret: false;
|
|
243
|
-
readonly stateful: true;
|
|
244
|
-
readonly supportsEndpoints: true;
|
|
245
|
-
readonly autoCreate: true;
|
|
246
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
247
|
-
readonly internal: false;
|
|
248
|
-
readonly minVersion: 1;
|
|
249
|
-
readonly secret: false;
|
|
250
|
-
readonly stateful: true;
|
|
251
|
-
readonly supportsEndpoints: true;
|
|
252
|
-
readonly autoCreate: true;
|
|
253
|
-
}, ("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"]> ? {
|
|
254
|
-
readonly internal: false;
|
|
255
|
-
readonly minVersion: 1;
|
|
256
|
-
readonly secret: false;
|
|
257
|
-
readonly stateful: true;
|
|
258
|
-
readonly supportsEndpoints: true;
|
|
259
|
-
readonly autoCreate: true;
|
|
260
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
261
|
-
readonly internal: false;
|
|
262
|
-
readonly minVersion: 1;
|
|
263
|
-
readonly secret: false;
|
|
264
|
-
readonly stateful: true;
|
|
265
|
-
readonly supportsEndpoints: true;
|
|
266
|
-
readonly autoCreate: true;
|
|
267
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
268
|
-
readonly internal: false;
|
|
269
|
-
readonly minVersion: 1;
|
|
270
|
-
readonly secret: false;
|
|
271
|
-
readonly stateful: true;
|
|
272
|
-
readonly supportsEndpoints: true;
|
|
273
|
-
readonly autoCreate: true;
|
|
274
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
100
|
+
};
|
|
101
|
+
options: {
|
|
275
102
|
readonly internal: false;
|
|
276
103
|
readonly minVersion: 1;
|
|
277
104
|
readonly secret: false;
|
|
278
105
|
readonly stateful: true;
|
|
279
106
|
readonly supportsEndpoints: true;
|
|
280
107
|
readonly autoCreate: true;
|
|
281
|
-
}
|
|
108
|
+
};
|
|
282
109
|
};
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
110
|
+
scene: ((sceneNumber: number) => {
|
|
111
|
+
id: {
|
|
112
|
+
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
113
|
+
readonly property: "scene";
|
|
114
|
+
readonly propertyKey: string;
|
|
115
|
+
};
|
|
116
|
+
endpoint: (endpoint?: number) => {
|
|
286
117
|
readonly commandClass: (typeof CommandClasses)["Central Scene"];
|
|
287
118
|
readonly endpoint: number;
|
|
288
|
-
readonly property: "
|
|
119
|
+
readonly property: "scene";
|
|
120
|
+
readonly propertyKey: string;
|
|
289
121
|
};
|
|
290
|
-
readonly
|
|
291
|
-
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
294
|
-
readonly
|
|
295
|
-
|
|
296
|
-
readonly type: "any";
|
|
297
|
-
readonly readable: true;
|
|
298
|
-
readonly writeable: true;
|
|
299
|
-
}>, ("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<{
|
|
300
|
-
readonly type: "any";
|
|
301
|
-
readonly readable: true;
|
|
302
|
-
readonly writeable: true;
|
|
303
|
-
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
304
|
-
readonly type: "any";
|
|
305
|
-
readonly readable: true;
|
|
306
|
-
readonly writeable: true;
|
|
307
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
308
|
-
readonly type: "any";
|
|
122
|
+
readonly meta: {
|
|
123
|
+
readonly label: `Scene ${string}`;
|
|
124
|
+
readonly writeable: false;
|
|
125
|
+
readonly min: 0;
|
|
126
|
+
readonly max: 255;
|
|
127
|
+
readonly type: "number";
|
|
309
128
|
readonly readable: true;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
readonly writeable: true;
|
|
315
|
-
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
316
|
-
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
317
|
-
readonly internal: false;
|
|
318
|
-
readonly minVersion: 1;
|
|
319
|
-
readonly secret: false;
|
|
320
|
-
readonly stateful: true;
|
|
321
|
-
readonly supportsEndpoints: true;
|
|
322
|
-
readonly autoCreate: true;
|
|
323
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
324
|
-
readonly internal: false;
|
|
325
|
-
readonly minVersion: 1;
|
|
326
|
-
readonly secret: false;
|
|
327
|
-
readonly stateful: true;
|
|
328
|
-
readonly supportsEndpoints: true;
|
|
329
|
-
readonly autoCreate: true;
|
|
330
|
-
}, ("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"]> ? {
|
|
331
|
-
readonly internal: false;
|
|
332
|
-
readonly minVersion: 1;
|
|
333
|
-
readonly secret: false;
|
|
334
|
-
readonly stateful: true;
|
|
335
|
-
readonly supportsEndpoints: true;
|
|
336
|
-
readonly autoCreate: true;
|
|
337
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
338
|
-
readonly internal: false;
|
|
339
|
-
readonly minVersion: 1;
|
|
340
|
-
readonly secret: false;
|
|
341
|
-
readonly stateful: true;
|
|
342
|
-
readonly supportsEndpoints: true;
|
|
343
|
-
readonly autoCreate: true;
|
|
344
|
-
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
345
|
-
readonly internal: false;
|
|
346
|
-
readonly minVersion: 1;
|
|
347
|
-
readonly secret: false;
|
|
348
|
-
readonly stateful: true;
|
|
349
|
-
readonly supportsEndpoints: true;
|
|
350
|
-
readonly autoCreate: true;
|
|
351
|
-
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
129
|
+
};
|
|
130
|
+
}) & {
|
|
131
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
132
|
+
options: {
|
|
352
133
|
readonly internal: false;
|
|
353
134
|
readonly minVersion: 1;
|
|
354
135
|
readonly secret: false;
|
|
355
|
-
readonly stateful:
|
|
136
|
+
readonly stateful: false;
|
|
356
137
|
readonly supportsEndpoints: true;
|
|
357
138
|
readonly autoCreate: true;
|
|
358
|
-
}
|
|
139
|
+
};
|
|
359
140
|
};
|
|
360
141
|
}>;
|
|
361
142
|
export declare class CentralSceneCCAPI extends CCAPI {
|
|
@@ -37,7 +37,7 @@ __export(CentralSceneCC_exports, {
|
|
|
37
37
|
CentralSceneCCNotification: () => CentralSceneCCNotification,
|
|
38
38
|
CentralSceneCCSupportedGet: () => CentralSceneCCSupportedGet,
|
|
39
39
|
CentralSceneCCSupportedReport: () => CentralSceneCCSupportedReport,
|
|
40
|
-
CentralSceneCCValues: () => CentralSceneCCValues
|
|
40
|
+
CentralSceneCCValues: () => import_CCValues_generated.CentralSceneCCValues
|
|
41
41
|
});
|
|
42
42
|
module.exports = __toCommonJS(CentralSceneCC_exports);
|
|
43
43
|
var __validateArgs = __toESM(require("./CentralSceneCC._validateArgs.js"), 1);
|
|
@@ -50,6 +50,7 @@ var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
|
|
|
50
50
|
var import_Values = require("../lib/Values.js");
|
|
51
51
|
var import_Types = require("../lib/_Types.js");
|
|
52
52
|
var ccUtils = __toESM(require("../lib/utils.js"), 1);
|
|
53
|
+
var import_CCValues_generated = require("./_CCValues.generated.js");
|
|
53
54
|
var __runInitializers = function(thisArg, initializers, value) {
|
|
54
55
|
var useValue = arguments.length > 2;
|
|
55
56
|
for (var i = 0; i < initializers.length; i++) {
|
|
@@ -91,30 +92,6 @@ var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializ
|
|
|
91
92
|
done = true;
|
|
92
93
|
};
|
|
93
94
|
const { validateArgs_CentralSceneCCAPI_setConfiguration } = __validateArgs;
|
|
94
|
-
const CentralSceneCCValues = Object.freeze({
|
|
95
|
-
...import_Values.V.defineStaticCCValues(import_safe.CommandClasses["Central Scene"], {
|
|
96
|
-
...import_Values.V.staticProperty("sceneCount", void 0, {
|
|
97
|
-
internal: true
|
|
98
|
-
}),
|
|
99
|
-
...import_Values.V.staticProperty("supportsSlowRefresh", void 0, {
|
|
100
|
-
internal: true
|
|
101
|
-
}),
|
|
102
|
-
...import_Values.V.staticProperty("supportedKeyAttributes", void 0, {
|
|
103
|
-
internal: true
|
|
104
|
-
}),
|
|
105
|
-
...import_Values.V.staticProperty("slowRefresh", {
|
|
106
|
-
...import_safe.ValueMetadata.Boolean,
|
|
107
|
-
label: "Send held down notifications at a slow rate",
|
|
108
|
-
description: "When this is true, KeyHeldDown notifications are sent every 55s. When this is false, the notifications are sent every 200ms."
|
|
109
|
-
})
|
|
110
|
-
}),
|
|
111
|
-
...import_Values.V.defineDynamicCCValues(import_safe.CommandClasses["Central Scene"], {
|
|
112
|
-
...import_Values.V.dynamicPropertyAndKeyWithName("scene", "scene", (sceneNumber) => sceneNumber.toString().padStart(3, "0"), ({ property, propertyKey }) => property === "scene" && typeof propertyKey === "string" && /^\d{3}$/.test(propertyKey), (sceneNumber) => ({
|
|
113
|
-
...import_safe.ValueMetadata.ReadOnlyUInt8,
|
|
114
|
-
label: `Scene ${sceneNumber.toString().padStart(3, "0")}`
|
|
115
|
-
}), { stateful: false })
|
|
116
|
-
})
|
|
117
|
-
});
|
|
118
95
|
let CentralSceneCCAPI = (() => {
|
|
119
96
|
let _classDecorators = [(0, import_CommandClassDecorators.API)(import_safe.CommandClasses["Central Scene"])];
|
|
120
97
|
let _classDescriptor;
|
|
@@ -214,7 +191,7 @@ let CentralSceneCCAPI = (() => {
|
|
|
214
191
|
return CentralSceneCCAPI2 = _classThis;
|
|
215
192
|
})();
|
|
216
193
|
let CentralSceneCC = (() => {
|
|
217
|
-
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Central Scene"]), (0, import_CommandClassDecorators.implementedVersion)(3), (0, import_CommandClassDecorators.ccValues)(CentralSceneCCValues)];
|
|
194
|
+
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Central Scene"]), (0, import_CommandClassDecorators.implementedVersion)(3), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.CentralSceneCCValues)];
|
|
218
195
|
let _classDescriptor;
|
|
219
196
|
let _classExtraInitializers = [];
|
|
220
197
|
let _classThis;
|
|
@@ -347,7 +324,7 @@ let CentralSceneCCNotification = (() => {
|
|
|
347
324
|
persistValues(ctx) {
|
|
348
325
|
if (!super.persistValues(ctx))
|
|
349
326
|
return false;
|
|
350
|
-
const sceneValue = CentralSceneCCValues.scene(this.sceneNumber);
|
|
327
|
+
const sceneValue = import_CCValues_generated.CentralSceneCCValues.scene(this.sceneNumber);
|
|
351
328
|
this.ensureMetadata(ctx, sceneValue);
|
|
352
329
|
return true;
|
|
353
330
|
}
|
|
@@ -373,7 +350,7 @@ let CentralSceneCCNotification = (() => {
|
|
|
373
350
|
return CentralSceneCCNotification2 = _classThis;
|
|
374
351
|
})();
|
|
375
352
|
let CentralSceneCCSupportedReport = (() => {
|
|
376
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.CentralSceneCommand.SupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("sceneCount", CentralSceneCCValues.sceneCount), (0, import_CommandClassDecorators.ccValueProperty)("supportsSlowRefresh", CentralSceneCCValues.supportsSlowRefresh), (0, import_CommandClassDecorators.ccValueProperty)("supportedKeyAttributes", CentralSceneCCValues.supportedKeyAttributes)];
|
|
353
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.CentralSceneCommand.SupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("sceneCount", import_CCValues_generated.CentralSceneCCValues.sceneCount), (0, import_CommandClassDecorators.ccValueProperty)("supportsSlowRefresh", import_CCValues_generated.CentralSceneCCValues.supportsSlowRefresh), (0, import_CommandClassDecorators.ccValueProperty)("supportedKeyAttributes", import_CCValues_generated.CentralSceneCCValues.supportedKeyAttributes)];
|
|
377
354
|
let _classDescriptor;
|
|
378
355
|
let _classExtraInitializers = [];
|
|
379
356
|
let _classThis;
|
|
@@ -429,7 +406,7 @@ let CentralSceneCCSupportedReport = (() => {
|
|
|
429
406
|
if (!super.persistValues(ctx))
|
|
430
407
|
return false;
|
|
431
408
|
for (let i = 1; i <= this.sceneCount; i++) {
|
|
432
|
-
const sceneValue = CentralSceneCCValues.scene(i);
|
|
409
|
+
const sceneValue = import_CCValues_generated.CentralSceneCCValues.scene(i);
|
|
433
410
|
this.setMetadata(ctx, sceneValue, {
|
|
434
411
|
...sceneValue.meta,
|
|
435
412
|
states: (0, import_safe.enumValuesToMetadataStates)(import_Types.CentralSceneKeys, this._supportedKeyAttributes.get(i))
|
|
@@ -485,7 +462,7 @@ let CentralSceneCCSupportedGet = (() => {
|
|
|
485
462
|
return CentralSceneCCSupportedGet2 = _classThis;
|
|
486
463
|
})();
|
|
487
464
|
let CentralSceneCCConfigurationReport = (() => {
|
|
488
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.CentralSceneCommand.ConfigurationReport), (0, import_CommandClassDecorators.ccValueProperty)("slowRefresh", CentralSceneCCValues.slowRefresh)];
|
|
465
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.CentralSceneCommand.ConfigurationReport), (0, import_CommandClassDecorators.ccValueProperty)("slowRefresh", import_CCValues_generated.CentralSceneCCValues.slowRefresh)];
|
|
489
466
|
let _classDescriptor;
|
|
490
467
|
let _classExtraInitializers = [];
|
|
491
468
|
let _classThis;
|