@zwave-js/cc 14.3.10 → 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 +68 -68
- package/build/cjs/cc/AlarmSensorCC.js +12 -50
- package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
- package/build/cjs/cc/AssociationCC.d.ts +72 -73
- package/build/cjs/cc/AssociationCC.js +9 -26
- package/build/cjs/cc/AssociationCC.js.map +2 -2
- package/build/cjs/cc/AssociationGroupInfoCC.d.ts +71 -71
- package/build/cjs/cc/AssociationGroupInfoCC.js +11 -22
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
- package/build/cjs/cc/BarrierOperatorCC.d.ts +66 -72
- package/build/cjs/cc/BarrierOperatorCC.js +12 -44
- package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
- package/build/cjs/cc/BasicCC.d.ts +64 -65
- package/build/cjs/cc/BasicCC.js +15 -46
- package/build/cjs/cc/BasicCC.js.map +2 -2
- package/build/cjs/cc/BatteryCC.d.ts +162 -165
- package/build/cjs/cc/BatteryCC.js +7 -84
- package/build/cjs/cc/BatteryCC.js.map +2 -2
- package/build/cjs/cc/BinarySensorCC.d.ts +36 -36
- package/build/cjs/cc/BinarySensorCC.js +9 -29
- package/build/cjs/cc/BinarySensorCC.js.map +2 -2
- package/build/cjs/cc/BinarySwitchCC.d.ts +34 -34
- package/build/cjs/cc/BinarySwitchCC.js +6 -22
- package/build/cjs/cc/BinarySwitchCC.js.map +2 -2
- package/build/cjs/cc/CRC16CC.d.ts +4 -8
- package/build/cjs/cc/CRC16CC.js +4 -27
- package/build/cjs/cc/CRC16CC.js.map +2 -2
- package/build/cjs/cc/CentralSceneCC.d.ts +74 -74
- package/build/cjs/cc/CentralSceneCC.js +7 -30
- package/build/cjs/cc/CentralSceneCC.js.map +2 -2
- package/build/cjs/cc/ClimateControlScheduleCC.d.ts +38 -40
- package/build/cjs/cc/ClimateControlScheduleCC.js +5 -24
- package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
- package/build/cjs/cc/ClockCC.d.ts +3 -3
- package/build/cjs/cc/ClockCC.js.map +2 -2
- package/build/cjs/cc/ColorSwitchCC.d.ts +117 -117
- package/build/cjs/cc/ColorSwitchCC.js +23 -75
- package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
- package/build/cjs/cc/ConfigurationCC._validateArgs.js +1 -1
- package/build/cjs/cc/ConfigurationCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/ConfigurationCC.d.ts +48 -52
- package/build/cjs/cc/ConfigurationCC.js +11 -39
- package/build/cjs/cc/ConfigurationCC.js.map +2 -2
- package/build/cjs/cc/DeviceResetLocallyCC.d.ts +1 -1
- package/build/cjs/cc/DeviceResetLocallyCC.js.map +2 -2
- package/build/cjs/cc/DoorLockCC._validateArgs.js +1 -1
- package/build/cjs/cc/DoorLockCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/DoorLockCC.d.ts +362 -361
- package/build/cjs/cc/DoorLockCC.js +51 -156
- package/build/cjs/cc/DoorLockCC.js.map +2 -2
- package/build/cjs/cc/DoorLockLoggingCC.d.ts +14 -14
- package/build/cjs/cc/DoorLockLoggingCC.js +4 -8
- package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
- package/build/cjs/cc/EnergyProductionCC.d.ts +16 -16
- package/build/cjs/cc/EnergyProductionCC.js +5 -17
- package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
- package/build/cjs/cc/EntryControlCC.d.ts +71 -71
- package/build/cjs/cc/EntryControlCC.js +9 -36
- package/build/cjs/cc/EntryControlCC.js.map +2 -2
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js +26 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +101 -88
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +159 -34
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlModeCC.d.ts +31 -33
- package/build/cjs/cc/HumidityControlModeCC.js +6 -15
- package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +9 -11
- package/build/cjs/cc/HumidityControlOperatingStateCC.js +4 -12
- package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlSetpointCC.d.ts +50 -50
- package/build/cjs/cc/HumidityControlSetpointCC.js +10 -28
- package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
- package/build/cjs/cc/InclusionControllerCC.d.ts +4 -4
- package/build/cjs/cc/InclusionControllerCC.js.map +2 -2
- package/build/cjs/cc/IndicatorCC.d.ts +119 -119
- package/build/cjs/cc/IndicatorCC.js +15 -61
- package/build/cjs/cc/IndicatorCC.js.map +2 -2
- package/build/cjs/cc/IrrigationCC.d.ts +581 -585
- package/build/cjs/cc/IrrigationCC.js +29 -233
- package/build/cjs/cc/IrrigationCC.js.map +2 -2
- package/build/cjs/cc/LanguageCC.d.ts +21 -21
- package/build/cjs/cc/LanguageCC.js +4 -15
- package/build/cjs/cc/LanguageCC.js.map +2 -2
- package/build/cjs/cc/LockCC.d.ts +9 -9
- package/build/cjs/cc/LockCC.js +4 -12
- package/build/cjs/cc/LockCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.d.ts +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerSpecificCC.d.ts +67 -67
- package/build/cjs/cc/ManufacturerSpecificCC.js +5 -26
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
- package/build/cjs/cc/MeterCC.d.ts +120 -119
- package/build/cjs/cc/MeterCC.js +25 -69
- package/build/cjs/cc/MeterCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelAssociationCC.d.ts +71 -73
- package/build/cjs/cc/MultiChannelAssociationCC.js +10 -28
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelCC.d.ts +136 -146
- package/build/cjs/cc/MultiChannelCC.js +26 -118
- package/build/cjs/cc/MultiChannelCC.js.map +2 -2
- package/build/cjs/cc/MultiCommandCC.d.ts +4 -8
- package/build/cjs/cc/MultiCommandCC.js +4 -37
- package/build/cjs/cc/MultiCommandCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSensorCC.d.ts +50 -49
- package/build/cjs/cc/MultilevelSensorCC.js +12 -33
- package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +146 -146
- package/build/cjs/cc/MultilevelSwitchCC.js +13 -107
- package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
- package/build/cjs/cc/NodeNamingCC.d.ts +30 -30
- package/build/cjs/cc/NodeNamingCC.js +5 -16
- package/build/cjs/cc/NodeNamingCC.js.map +2 -2
- package/build/cjs/cc/NotificationCC.d.ts +210 -208
- package/build/cjs/cc/NotificationCC.js +41 -113
- package/build/cjs/cc/NotificationCC.js.map +2 -2
- package/build/cjs/cc/PowerlevelCC.d.ts +6 -6
- package/build/cjs/cc/PowerlevelCC.js.map +2 -2
- package/build/cjs/cc/ProtectionCC.d.ts +117 -121
- package/build/cjs/cc/ProtectionCC.js +15 -50
- package/build/cjs/cc/ProtectionCC.js.map +2 -2
- package/build/cjs/cc/SceneActivationCC.d.ts +29 -29
- package/build/cjs/cc/SceneActivationCC.js +4 -17
- package/build/cjs/cc/SceneActivationCC.js.map +2 -2
- package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +35 -35
- package/build/cjs/cc/SceneActuatorConfigurationCC.js +9 -21
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
- package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +36 -35
- package/build/cjs/cc/SceneControllerConfigurationCC.js +10 -22
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
- package/build/cjs/cc/ScheduleEntryLockCC.d.ts +109 -109
- package/build/cjs/cc/ScheduleEntryLockCC.js +13 -30
- package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
- package/build/cjs/cc/Security2CC.d.ts +15 -21
- package/build/cjs/cc/Security2CC.js +32 -347
- package/build/cjs/cc/Security2CC.js.map +3 -3
- package/build/cjs/cc/SecurityCC.d.ts +12 -19
- package/build/cjs/cc/SecurityCC.js +12 -106
- package/build/cjs/cc/SecurityCC.js.map +2 -2
- package/build/cjs/cc/SoundSwitchCC.d.ts +58 -58
- package/build/cjs/cc/SoundSwitchCC.js +11 -43
- package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
- package/build/cjs/cc/SupervisionCC.d.ts +21 -25
- package/build/cjs/cc/SupervisionCC.js +8 -38
- package/build/cjs/cc/SupervisionCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanModeCC.d.ts +37 -39
- package/build/cjs/cc/ThermostatFanModeCC.js +8 -21
- package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanStateCC.d.ts +9 -11
- package/build/cjs/cc/ThermostatFanStateCC.js +4 -12
- package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatModeCC.d.ts +39 -41
- package/build/cjs/cc/ThermostatModeCC.js +8 -21
- package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +9 -11
- package/build/cjs/cc/ThermostatOperatingStateCC.js +4 -12
- package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetbackCC.d.ts +4 -4
- package/build/cjs/cc/ThermostatSetbackCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetpointCC.d.ts +51 -51
- package/build/cjs/cc/ThermostatSetpointCC.js +10 -25
- package/build/cjs/cc/ThermostatSetpointCC.js.map +2 -2
- package/build/cjs/cc/TimeCC.d.ts +6 -6
- package/build/cjs/cc/TimeCC.js.map +2 -2
- package/build/cjs/cc/TimeParametersCC.d.ts +9 -9
- package/build/cjs/cc/TimeParametersCC.js +4 -11
- package/build/cjs/cc/TimeParametersCC.js.map +2 -2
- package/build/cjs/cc/TransportServiceCC.d.ts +7 -12
- package/build/cjs/cc/TransportServiceCC.js +3 -20
- package/build/cjs/cc/TransportServiceCC.js.map +2 -2
- package/build/cjs/cc/UserCodeCC._validateArgs.js +1 -1
- package/build/cjs/cc/UserCodeCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/UserCodeCC.d.ts +236 -236
- package/build/cjs/cc/UserCodeCC.js +33 -98
- package/build/cjs/cc/UserCodeCC.js.map +2 -2
- package/build/cjs/cc/VersionCC.d.ts +210 -212
- package/build/cjs/cc/VersionCC.js +7 -98
- package/build/cjs/cc/VersionCC.js.map +2 -2
- package/build/cjs/cc/WakeUpCC.d.ts +44 -44
- package/build/cjs/cc/WakeUpCC.js +6 -26
- package/build/cjs/cc/WakeUpCC.js.map +2 -2
- package/build/cjs/cc/WindowCoveringCC.d.ts +118 -122
- package/build/cjs/cc/WindowCoveringCC.js +16 -128
- package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
- package/build/cjs/cc/ZWavePlusCC.d.ts +74 -74
- package/build/cjs/cc/ZWavePlusCC.js +4 -25
- package/build/cjs/cc/ZWavePlusCC.js.map +2 -2
- package/build/cjs/cc/ZWaveProtocolCC.d.ts +28 -28
- package/build/cjs/cc/ZWaveProtocolCC.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/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.js.map +2 -2
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index_browser.d.ts +9 -0
- package/build/cjs/index_browser.js +41 -1
- package/build/cjs/index_browser.js.map +2 -2
- package/build/cjs/lib/API.d.ts +7 -5
- package/build/cjs/lib/API.js +1 -1
- package/build/cjs/lib/API.js.map +2 -2
- 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/CommandClass.d.ts +10 -21
- package/build/cjs/lib/CommandClass.js +51 -106
- package/build/cjs/lib/CommandClass.js.map +3 -3
- package/build/cjs/lib/CommandClassDecorators.d.ts +1 -1
- package/build/cjs/lib/CommandClassDecorators.js +3 -3
- package/build/cjs/lib/CommandClassDecorators.js.map +2 -2
- package/build/cjs/lib/Values.d.ts +7 -106
- package/build/cjs/lib/Values.js +13 -107
- package/build/cjs/lib/Values.js.map +3 -3
- package/build/cjs/lib/traits.d.ts +94 -0
- package/build/cjs/lib/traits.js +17 -0
- package/build/cjs/lib/traits.js.map +7 -0
- package/build/cjs/lib/utils.d.ts +2 -2
- package/build/cjs/lib/utils.js.map +2 -2
- package/build/esm/cc/AlarmSensorCC.d.ts +68 -68
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
- package/build/esm/cc/AlarmSensorCC.js +2 -40
- package/build/esm/cc/AlarmSensorCC.js.map +1 -1
- package/build/esm/cc/AssociationCC.d.ts +72 -73
- package/build/esm/cc/AssociationCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationCC.js +2 -27
- package/build/esm/cc/AssociationCC.js.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.d.ts +71 -71
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.js +2 -19
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.d.ts +66 -72
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.js +2 -37
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
- package/build/esm/cc/BasicCC.d.ts +64 -65
- package/build/esm/cc/BasicCC.d.ts.map +1 -1
- package/build/esm/cc/BasicCC.js +2 -34
- package/build/esm/cc/BasicCC.js.map +1 -1
- package/build/esm/cc/BatteryCC.d.ts +162 -165
- package/build/esm/cc/BatteryCC.d.ts.map +1 -1
- package/build/esm/cc/BatteryCC.js +3 -80
- package/build/esm/cc/BatteryCC.js.map +1 -1
- package/build/esm/cc/BinarySensorCC.d.ts +36 -36
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySensorCC.js +2 -19
- package/build/esm/cc/BinarySensorCC.js.map +1 -1
- package/build/esm/cc/BinarySwitchCC.d.ts +34 -34
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySwitchCC.js +2 -19
- package/build/esm/cc/BinarySwitchCC.js.map +1 -1
- package/build/esm/cc/CRC16CC.d.ts +4 -8
- package/build/esm/cc/CRC16CC.d.ts.map +1 -1
- package/build/esm/cc/CRC16CC.js +4 -34
- package/build/esm/cc/CRC16CC.js.map +1 -1
- package/build/esm/cc/CentralSceneCC.d.ts +74 -74
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
- package/build/esm/cc/CentralSceneCC.js +2 -27
- package/build/esm/cc/CentralSceneCC.js.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.d.ts +38 -40
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.js +2 -26
- package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
- package/build/esm/cc/ClockCC.d.ts +3 -3
- package/build/esm/cc/ClockCC.d.ts.map +1 -1
- package/build/esm/cc/ClockCC.js +0 -1
- package/build/esm/cc/ClockCC.js.map +1 -1
- package/build/esm/cc/ColorSwitchCC.d.ts +117 -117
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/ColorSwitchCC.js +2 -58
- package/build/esm/cc/ColorSwitchCC.js.map +1 -1
- package/build/esm/cc/ConfigurationCC._validateArgs.js +1 -1
- package/build/esm/cc/ConfigurationCC._validateArgs.js.map +1 -1
- package/build/esm/cc/ConfigurationCC.d.ts +48 -52
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/ConfigurationCC.js +2 -40
- package/build/esm/cc/ConfigurationCC.js.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.d.ts +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -1
- package/build/esm/cc/DoorLockCC._validateArgs.js +1 -1
- package/build/esm/cc/DoorLockCC._validateArgs.js.map +1 -1
- package/build/esm/cc/DoorLockCC.d.ts +362 -361
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockCC.js +9 -129
- package/build/esm/cc/DoorLockCC.js.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.d.ts +14 -14
- package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.js +2 -6
- package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
- package/build/esm/cc/EnergyProductionCC.d.ts +16 -16
- package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
- package/build/esm/cc/EnergyProductionCC.js +2 -15
- package/build/esm/cc/EnergyProductionCC.js.map +1 -1
- package/build/esm/cc/EntryControlCC.d.ts +71 -71
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
- package/build/esm/cc/EntryControlCC.js +2 -29
- package/build/esm/cc/EntryControlCC.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js +20 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +101 -88
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +160 -53
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.d.ts +31 -33
- package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.js +2 -11
- package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +9 -11
- 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 +50 -50
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.js +2 -23
- package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
- package/build/esm/cc/InclusionControllerCC.d.ts +4 -4
- package/build/esm/cc/InclusionControllerCC.d.ts.map +1 -1
- package/build/esm/cc/InclusionControllerCC.js +0 -2
- package/build/esm/cc/InclusionControllerCC.js.map +1 -1
- package/build/esm/cc/IndicatorCC.d.ts +119 -119
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
- package/build/esm/cc/IndicatorCC.js +2 -50
- package/build/esm/cc/IndicatorCC.js.map +1 -1
- package/build/esm/cc/IrrigationCC.d.ts +581 -585
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
- package/build/esm/cc/IrrigationCC.js +3 -231
- package/build/esm/cc/IrrigationCC.js.map +1 -1
- package/build/esm/cc/LanguageCC.d.ts +21 -21
- package/build/esm/cc/LanguageCC.d.ts.map +1 -1
- package/build/esm/cc/LanguageCC.js +2 -13
- package/build/esm/cc/LanguageCC.js.map +1 -1
- package/build/esm/cc/LockCC.d.ts +9 -9
- package/build/esm/cc/LockCC.d.ts.map +1 -1
- package/build/esm/cc/LockCC.js +2 -10
- package/build/esm/cc/LockCC.js.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts +2 -2
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js +0 -2
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +67 -67
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.js +2 -26
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
- package/build/esm/cc/MeterCC.d.ts +120 -119
- package/build/esm/cc/MeterCC.d.ts.map +1 -1
- package/build/esm/cc/MeterCC.js +3 -53
- package/build/esm/cc/MeterCC.js.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.d.ts +71 -73
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.js +2 -30
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
- package/build/esm/cc/MultiChannelCC.d.ts +136 -146
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelCC.js +10 -131
- package/build/esm/cc/MultiChannelCC.js.map +1 -1
- package/build/esm/cc/MultiCommandCC.d.ts +4 -8
- package/build/esm/cc/MultiCommandCC.d.ts.map +1 -1
- package/build/esm/cc/MultiCommandCC.js +4 -38
- package/build/esm/cc/MultiCommandCC.js.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.d.ts +50 -49
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.js +2 -27
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.d.ts +146 -146
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.js +5 -105
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
- package/build/esm/cc/NodeNamingCC.d.ts +30 -30
- package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
- package/build/esm/cc/NodeNamingCC.js +2 -14
- package/build/esm/cc/NodeNamingCC.js.map +1 -1
- package/build/esm/cc/NotificationCC.d.ts +210 -208
- package/build/esm/cc/NotificationCC.d.ts.map +1 -1
- package/build/esm/cc/NotificationCC.js +21 -97
- package/build/esm/cc/NotificationCC.js.map +1 -1
- package/build/esm/cc/PowerlevelCC.d.ts +6 -6
- package/build/esm/cc/PowerlevelCC.d.ts.map +1 -1
- package/build/esm/cc/PowerlevelCC.js +0 -4
- package/build/esm/cc/PowerlevelCC.js.map +1 -1
- package/build/esm/cc/ProtectionCC.d.ts +117 -121
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
- package/build/esm/cc/ProtectionCC.js +2 -39
- package/build/esm/cc/ProtectionCC.js.map +1 -1
- package/build/esm/cc/SceneActivationCC.d.ts +29 -29
- package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActivationCC.js +2 -15
- package/build/esm/cc/SceneActivationCC.js.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +35 -35
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.js +2 -16
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts +36 -35
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.js +2 -16
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.d.ts +109 -109
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.js +2 -31
- package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
- package/build/esm/cc/Security2CC.d.ts +15 -21
- package/build/esm/cc/Security2CC.d.ts.map +1 -1
- package/build/esm/cc/Security2CC.js +27 -475
- package/build/esm/cc/Security2CC.js.map +1 -1
- package/build/esm/cc/SecurityCC.d.ts +12 -19
- package/build/esm/cc/SecurityCC.d.ts.map +1 -1
- package/build/esm/cc/SecurityCC.js +13 -138
- package/build/esm/cc/SecurityCC.js.map +1 -1
- package/build/esm/cc/SoundSwitchCC.d.ts +58 -58
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/SoundSwitchCC.js +2 -40
- package/build/esm/cc/SoundSwitchCC.js.map +1 -1
- package/build/esm/cc/SupervisionCC.d.ts +21 -25
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
- package/build/esm/cc/SupervisionCC.js +6 -41
- package/build/esm/cc/SupervisionCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.d.ts +37 -39
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.js +2 -15
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.d.ts +9 -11
- 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 +39 -41
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatModeCC.js +2 -17
- package/build/esm/cc/ThermostatModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts +9 -11
- 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/ThermostatSetbackCC.d.ts +4 -4
- package/build/esm/cc/ThermostatSetbackCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetbackCC.js +0 -2
- package/build/esm/cc/ThermostatSetbackCC.js.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.d.ts +51 -51
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.js +2 -22
- package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
- package/build/esm/cc/TimeCC.d.ts +6 -6
- package/build/esm/cc/TimeCC.d.ts.map +1 -1
- package/build/esm/cc/TimeCC.js +0 -4
- package/build/esm/cc/TimeCC.js.map +1 -1
- package/build/esm/cc/TimeParametersCC.d.ts +9 -9
- package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
- package/build/esm/cc/TimeParametersCC.js +2 -9
- package/build/esm/cc/TimeParametersCC.js.map +1 -1
- package/build/esm/cc/TransportServiceCC.d.ts +7 -12
- package/build/esm/cc/TransportServiceCC.d.ts.map +1 -1
- package/build/esm/cc/TransportServiceCC.js +5 -38
- package/build/esm/cc/TransportServiceCC.js.map +1 -1
- package/build/esm/cc/UserCodeCC._validateArgs.js +1 -1
- package/build/esm/cc/UserCodeCC._validateArgs.js.map +1 -1
- package/build/esm/cc/UserCodeCC.d.ts +236 -236
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
- package/build/esm/cc/UserCodeCC.js +2 -72
- package/build/esm/cc/UserCodeCC.js.map +1 -1
- package/build/esm/cc/VersionCC.d.ts +210 -212
- package/build/esm/cc/VersionCC.d.ts.map +1 -1
- package/build/esm/cc/VersionCC.js +2 -96
- package/build/esm/cc/VersionCC.js.map +1 -1
- package/build/esm/cc/WakeUpCC.d.ts +44 -44
- package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
- package/build/esm/cc/WakeUpCC.js +2 -22
- package/build/esm/cc/WakeUpCC.js.map +1 -1
- package/build/esm/cc/WindowCoveringCC.d.ts +118 -122
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
- package/build/esm/cc/WindowCoveringCC.js +3 -108
- package/build/esm/cc/WindowCoveringCC.js.map +1 -1
- package/build/esm/cc/ZWavePlusCC.d.ts +74 -74
- package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
- package/build/esm/cc/ZWavePlusCC.js +2 -26
- package/build/esm/cc/ZWavePlusCC.js.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.d.ts +28 -28
- package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.js +0 -27
- package/build/esm/cc/ZWaveProtocolCC.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/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -1
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js +0 -3
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js.map +1 -1
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index_browser.d.ts +9 -0
- package/build/esm/index_browser.d.ts.map +1 -1
- package/build/esm/index_browser.js +8 -1
- package/build/esm/index_browser.js.map +1 -1
- package/build/esm/lib/API.d.ts +7 -5
- package/build/esm/lib/API.d.ts.map +1 -1
- package/build/esm/lib/API.js +1 -1
- package/build/esm/lib/API.js.map +1 -1
- package/build/esm/lib/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/CommandClass.d.ts +10 -21
- package/build/esm/lib/CommandClass.d.ts.map +1 -1
- package/build/esm/lib/CommandClass.js +8 -101
- package/build/esm/lib/CommandClass.js.map +1 -1
- package/build/esm/lib/CommandClassDecorators.d.ts +1 -1
- package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -1
- package/build/esm/lib/CommandClassDecorators.js +1 -1
- package/build/esm/lib/CommandClassDecorators.js.map +1 -1
- package/build/esm/lib/Values.d.ts +7 -106
- 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/build/esm/lib/traits.d.ts +94 -0
- package/build/esm/lib/traits.d.ts.map +1 -0
- package/build/esm/lib/traits.js +2 -0
- package/build/esm/lib/traits.js.map +1 -0
- package/build/esm/lib/utils.d.ts +2 -2
- package/build/esm/lib/utils.d.ts.map +1 -1
- package/build/esm/lib/utils.js.map +1 -1
- package/package.json +16 -14
|
@@ -1,168 +1,168 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
|
|
2
|
+
import { CommandClasses, type GetValueDB, type MessageOrCCLogEntry, type SupervisionResult, type WithAddress } from "@zwave-js/core";
|
|
2
3
|
import { type EndpointId, type MaybeNotKnown } from "@zwave-js/core/safe";
|
|
3
|
-
import type { CCEncodingContext, CCParsingContext, GetValueDB } from "@zwave-js/host";
|
|
4
4
|
import { type AllOrNone, Bytes } from "@zwave-js/shared";
|
|
5
5
|
import { CCAPI } from "../lib/API.js";
|
|
6
6
|
import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext } from "../lib/CommandClass.js";
|
|
7
7
|
import { ScheduleEntryLockCommand, type ScheduleEntryLockDailyRepeatingSchedule, ScheduleEntryLockScheduleKind, ScheduleEntryLockSetAction, type ScheduleEntryLockSlotId, type ScheduleEntryLockWeekDaySchedule, ScheduleEntryLockWeekday, type ScheduleEntryLockYearDaySchedule, type Timezone } from "../lib/_Types.js";
|
|
8
8
|
export declare const ScheduleEntryLockCCValues: Readonly<{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly writeable: true;
|
|
14
|
-
};
|
|
15
|
-
readonly id: {
|
|
16
|
-
commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
17
|
-
property: "schedule";
|
|
18
|
-
propertyKey: number;
|
|
9
|
+
numWeekDaySlots: {
|
|
10
|
+
id: {
|
|
11
|
+
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
12
|
+
readonly property: "numWeekDaySlots";
|
|
19
13
|
};
|
|
20
|
-
|
|
14
|
+
endpoint: (endpoint?: number) => {
|
|
21
15
|
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
22
16
|
readonly endpoint: number;
|
|
23
|
-
readonly property: "
|
|
24
|
-
readonly propertyKey: number;
|
|
17
|
+
readonly property: "numWeekDaySlots";
|
|
25
18
|
};
|
|
26
|
-
}) & {
|
|
27
19
|
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
20
|
+
readonly meta: Readonly<{
|
|
21
|
+
readonly type: "any";
|
|
22
|
+
readonly readable: true;
|
|
23
|
+
readonly writeable: true;
|
|
24
|
+
}>;
|
|
25
|
+
options: {
|
|
26
|
+
readonly internal: true;
|
|
31
27
|
readonly minVersion: 1;
|
|
28
|
+
readonly secret: false;
|
|
29
|
+
readonly stateful: true;
|
|
32
30
|
readonly supportsEndpoints: true;
|
|
33
31
|
readonly autoCreate: true;
|
|
34
|
-
readonly internal: true;
|
|
35
32
|
};
|
|
36
33
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly writeable: true;
|
|
42
|
-
};
|
|
43
|
-
readonly id: {
|
|
44
|
-
commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
45
|
-
property: "scheduleKind";
|
|
46
|
-
propertyKey: number;
|
|
34
|
+
numYearDaySlots: {
|
|
35
|
+
id: {
|
|
36
|
+
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
37
|
+
readonly property: "numYearDaySlots";
|
|
47
38
|
};
|
|
48
|
-
|
|
39
|
+
endpoint: (endpoint?: number) => {
|
|
49
40
|
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
50
41
|
readonly endpoint: number;
|
|
51
|
-
readonly property: "
|
|
52
|
-
readonly propertyKey: number;
|
|
42
|
+
readonly property: "numYearDaySlots";
|
|
53
43
|
};
|
|
54
|
-
}) & {
|
|
55
44
|
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
45
|
+
readonly meta: Readonly<{
|
|
46
|
+
readonly type: "any";
|
|
47
|
+
readonly readable: true;
|
|
48
|
+
readonly writeable: true;
|
|
49
|
+
}>;
|
|
50
|
+
options: {
|
|
51
|
+
readonly internal: true;
|
|
59
52
|
readonly minVersion: 1;
|
|
53
|
+
readonly secret: false;
|
|
54
|
+
readonly stateful: true;
|
|
60
55
|
readonly supportsEndpoints: true;
|
|
61
56
|
readonly autoCreate: true;
|
|
62
|
-
readonly internal: true;
|
|
63
57
|
};
|
|
64
58
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
readonly
|
|
68
|
-
readonly
|
|
69
|
-
readonly writeable: true;
|
|
70
|
-
};
|
|
71
|
-
readonly id: {
|
|
72
|
-
commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
73
|
-
property: "userEnabled";
|
|
74
|
-
propertyKey: number;
|
|
59
|
+
numDailyRepeatingSlots: {
|
|
60
|
+
id: {
|
|
61
|
+
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
62
|
+
readonly property: "numDailyRepeatingSlots";
|
|
75
63
|
};
|
|
76
|
-
|
|
64
|
+
endpoint: (endpoint?: number) => {
|
|
77
65
|
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
78
66
|
readonly endpoint: number;
|
|
79
|
-
readonly property: "
|
|
80
|
-
readonly propertyKey: number;
|
|
67
|
+
readonly property: "numDailyRepeatingSlots";
|
|
81
68
|
};
|
|
82
|
-
}) & {
|
|
83
69
|
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
70
|
+
readonly meta: Readonly<{
|
|
71
|
+
readonly type: "any";
|
|
72
|
+
readonly readable: true;
|
|
73
|
+
readonly writeable: true;
|
|
74
|
+
}>;
|
|
75
|
+
options: {
|
|
76
|
+
readonly internal: true;
|
|
87
77
|
readonly minVersion: 1;
|
|
78
|
+
readonly secret: false;
|
|
79
|
+
readonly stateful: true;
|
|
88
80
|
readonly supportsEndpoints: true;
|
|
89
81
|
readonly autoCreate: true;
|
|
90
|
-
readonly internal: true;
|
|
91
82
|
};
|
|
92
83
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
96
|
-
property: "
|
|
84
|
+
userEnabled: ((userId: number) => {
|
|
85
|
+
id: {
|
|
86
|
+
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
87
|
+
readonly property: "userEnabled";
|
|
88
|
+
readonly propertyKey: number;
|
|
97
89
|
};
|
|
98
|
-
|
|
90
|
+
endpoint: (endpoint?: number) => {
|
|
99
91
|
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
100
92
|
readonly endpoint: number;
|
|
101
|
-
readonly property: "
|
|
93
|
+
readonly property: "userEnabled";
|
|
94
|
+
readonly propertyKey: number;
|
|
102
95
|
};
|
|
103
|
-
readonly
|
|
104
|
-
readonly meta: {
|
|
96
|
+
readonly meta: Readonly<{
|
|
105
97
|
readonly type: "any";
|
|
106
98
|
readonly readable: true;
|
|
107
99
|
readonly writeable: true;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
100
|
+
}>;
|
|
101
|
+
}) & {
|
|
102
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
103
|
+
options: {
|
|
104
|
+
readonly internal: true;
|
|
112
105
|
readonly minVersion: 1;
|
|
106
|
+
readonly secret: false;
|
|
107
|
+
readonly stateful: true;
|
|
113
108
|
readonly supportsEndpoints: true;
|
|
114
109
|
readonly autoCreate: true;
|
|
115
|
-
readonly internal: true;
|
|
116
110
|
};
|
|
117
111
|
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
121
|
-
property: "
|
|
112
|
+
scheduleKind: ((userId: number) => {
|
|
113
|
+
id: {
|
|
114
|
+
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
115
|
+
readonly property: "scheduleKind";
|
|
116
|
+
readonly propertyKey: number;
|
|
122
117
|
};
|
|
123
|
-
|
|
118
|
+
endpoint: (endpoint?: number) => {
|
|
124
119
|
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
125
120
|
readonly endpoint: number;
|
|
126
|
-
readonly property: "
|
|
121
|
+
readonly property: "scheduleKind";
|
|
122
|
+
readonly propertyKey: number;
|
|
127
123
|
};
|
|
128
|
-
readonly
|
|
129
|
-
readonly meta: {
|
|
124
|
+
readonly meta: Readonly<{
|
|
130
125
|
readonly type: "any";
|
|
131
126
|
readonly readable: true;
|
|
132
127
|
readonly writeable: true;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
128
|
+
}>;
|
|
129
|
+
}) & {
|
|
130
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
131
|
+
options: {
|
|
132
|
+
readonly internal: true;
|
|
137
133
|
readonly minVersion: 1;
|
|
134
|
+
readonly secret: false;
|
|
135
|
+
readonly stateful: true;
|
|
138
136
|
readonly supportsEndpoints: true;
|
|
139
137
|
readonly autoCreate: true;
|
|
140
|
-
readonly internal: true;
|
|
141
138
|
};
|
|
142
139
|
};
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
146
|
-
property: "
|
|
140
|
+
schedule: ((scheduleKind: ScheduleEntryLockScheduleKind, userId: number, slotId: number) => {
|
|
141
|
+
id: {
|
|
142
|
+
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
143
|
+
readonly property: "schedule";
|
|
144
|
+
readonly propertyKey: number;
|
|
147
145
|
};
|
|
148
|
-
|
|
146
|
+
endpoint: (endpoint?: number) => {
|
|
149
147
|
readonly commandClass: (typeof CommandClasses)["Schedule Entry Lock"];
|
|
150
148
|
readonly endpoint: number;
|
|
151
|
-
readonly property: "
|
|
149
|
+
readonly property: "schedule";
|
|
150
|
+
readonly propertyKey: number;
|
|
152
151
|
};
|
|
153
|
-
readonly
|
|
154
|
-
readonly meta: {
|
|
152
|
+
readonly meta: Readonly<{
|
|
155
153
|
readonly type: "any";
|
|
156
154
|
readonly readable: true;
|
|
157
155
|
readonly writeable: true;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
156
|
+
}>;
|
|
157
|
+
}) & {
|
|
158
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
159
|
+
options: {
|
|
160
|
+
readonly internal: true;
|
|
162
161
|
readonly minVersion: 1;
|
|
162
|
+
readonly secret: false;
|
|
163
|
+
readonly stateful: true;
|
|
163
164
|
readonly supportsEndpoints: true;
|
|
164
165
|
readonly autoCreate: true;
|
|
165
|
-
readonly internal: true;
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
168
|
}>;
|
|
@@ -234,7 +234,7 @@ export declare class ScheduleEntryLockCCEnableSet extends ScheduleEntryLockCC {
|
|
|
234
234
|
static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCEnableSet;
|
|
235
235
|
userId: number;
|
|
236
236
|
enabled: boolean;
|
|
237
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
237
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
238
238
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
239
239
|
}
|
|
240
240
|
export interface ScheduleEntryLockCCEnableAllSetOptions {
|
|
@@ -244,7 +244,7 @@ export declare class ScheduleEntryLockCCEnableAllSet extends ScheduleEntryLockCC
|
|
|
244
244
|
constructor(options: WithAddress<ScheduleEntryLockCCEnableAllSetOptions>);
|
|
245
245
|
static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCEnableAllSet;
|
|
246
246
|
enabled: boolean;
|
|
247
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
247
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
248
248
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
249
249
|
}
|
|
250
250
|
export interface ScheduleEntryLockCCSupportedReportOptions {
|
|
@@ -258,7 +258,7 @@ export declare class ScheduleEntryLockCCSupportedReport extends ScheduleEntryLoc
|
|
|
258
258
|
numWeekDaySlots: number;
|
|
259
259
|
numYearDaySlots: number;
|
|
260
260
|
numDailyRepeatingSlots: number | undefined;
|
|
261
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
261
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
262
262
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
263
263
|
}
|
|
264
264
|
export declare class ScheduleEntryLockCCSupportedGet extends ScheduleEntryLockCC {
|
|
@@ -280,7 +280,7 @@ export declare class ScheduleEntryLockCCWeekDayScheduleSet extends ScheduleEntry
|
|
|
280
280
|
startMinute?: number;
|
|
281
281
|
stopHour?: number;
|
|
282
282
|
stopMinute?: number;
|
|
283
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
283
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
284
284
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
285
285
|
}
|
|
286
286
|
export type ScheduleEntryLockCCWeekDayScheduleReportOptions = ScheduleEntryLockSlotId & AllOrNone<ScheduleEntryLockWeekDaySchedule>;
|
|
@@ -295,7 +295,7 @@ export declare class ScheduleEntryLockCCWeekDayScheduleReport extends ScheduleEn
|
|
|
295
295
|
stopHour?: number;
|
|
296
296
|
stopMinute?: number;
|
|
297
297
|
persistValues(ctx: PersistValuesContext): boolean;
|
|
298
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
298
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
299
299
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
300
300
|
}
|
|
301
301
|
export type ScheduleEntryLockCCWeekDayScheduleGetOptions = ScheduleEntryLockSlotId;
|
|
@@ -304,7 +304,7 @@ export declare class ScheduleEntryLockCCWeekDayScheduleGet extends ScheduleEntry
|
|
|
304
304
|
static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCWeekDayScheduleGet;
|
|
305
305
|
userId: number;
|
|
306
306
|
slotId: number;
|
|
307
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
307
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
308
308
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
309
309
|
}
|
|
310
310
|
/** @publicAPI */
|
|
@@ -329,7 +329,7 @@ export declare class ScheduleEntryLockCCYearDayScheduleSet extends ScheduleEntry
|
|
|
329
329
|
stopDay?: number;
|
|
330
330
|
stopHour?: number;
|
|
331
331
|
stopMinute?: number;
|
|
332
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
332
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
333
333
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
334
334
|
}
|
|
335
335
|
export type ScheduleEntryLockCCYearDayScheduleReportOptions = ScheduleEntryLockSlotId & AllOrNone<ScheduleEntryLockYearDaySchedule>;
|
|
@@ -349,7 +349,7 @@ export declare class ScheduleEntryLockCCYearDayScheduleReport extends ScheduleEn
|
|
|
349
349
|
stopHour?: number;
|
|
350
350
|
stopMinute?: number;
|
|
351
351
|
persistValues(ctx: PersistValuesContext): boolean;
|
|
352
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
352
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
353
353
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
354
354
|
}
|
|
355
355
|
export type ScheduleEntryLockCCYearDayScheduleGetOptions = ScheduleEntryLockSlotId;
|
|
@@ -358,7 +358,7 @@ export declare class ScheduleEntryLockCCYearDayScheduleGet extends ScheduleEntry
|
|
|
358
358
|
static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCYearDayScheduleGet;
|
|
359
359
|
userId: number;
|
|
360
360
|
slotId: number;
|
|
361
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
361
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
362
362
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
363
363
|
}
|
|
364
364
|
export interface ScheduleEntryLockCCTimeOffsetSetOptions {
|
|
@@ -370,7 +370,7 @@ export declare class ScheduleEntryLockCCTimeOffsetSet extends ScheduleEntryLockC
|
|
|
370
370
|
static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCTimeOffsetSet;
|
|
371
371
|
standardOffset: number;
|
|
372
372
|
dstOffset: number;
|
|
373
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
373
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
374
374
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
375
375
|
}
|
|
376
376
|
export interface ScheduleEntryLockCCTimeOffsetReportOptions {
|
|
@@ -382,7 +382,7 @@ export declare class ScheduleEntryLockCCTimeOffsetReport extends ScheduleEntryLo
|
|
|
382
382
|
static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCTimeOffsetReport;
|
|
383
383
|
standardOffset: number;
|
|
384
384
|
dstOffset: number;
|
|
385
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
385
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
386
386
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
387
387
|
}
|
|
388
388
|
export declare class ScheduleEntryLockCCTimeOffsetGet extends ScheduleEntryLockCC {
|
|
@@ -404,7 +404,7 @@ export declare class ScheduleEntryLockCCDailyRepeatingScheduleSet extends Schedu
|
|
|
404
404
|
startMinute?: number;
|
|
405
405
|
durationHour?: number;
|
|
406
406
|
durationMinute?: number;
|
|
407
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
407
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
408
408
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
409
409
|
}
|
|
410
410
|
export type ScheduleEntryLockCCDailyRepeatingScheduleReportOptions = ScheduleEntryLockSlotId & AllOrNone<ScheduleEntryLockDailyRepeatingSchedule>;
|
|
@@ -419,7 +419,7 @@ export declare class ScheduleEntryLockCCDailyRepeatingScheduleReport extends Sch
|
|
|
419
419
|
durationHour?: number;
|
|
420
420
|
durationMinute?: number;
|
|
421
421
|
persistValues(ctx: PersistValuesContext): boolean;
|
|
422
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
422
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
423
423
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
424
424
|
}
|
|
425
425
|
export type ScheduleEntryLockCCDailyRepeatingScheduleGetOptions = ScheduleEntryLockSlotId;
|
|
@@ -428,7 +428,7 @@ export declare class ScheduleEntryLockCCDailyRepeatingScheduleGet extends Schedu
|
|
|
428
428
|
static from(raw: CCRaw, ctx: CCParsingContext): ScheduleEntryLockCCDailyRepeatingScheduleGet;
|
|
429
429
|
userId: number;
|
|
430
430
|
slotId: number;
|
|
431
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
431
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
432
432
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
433
433
|
}
|
|
434
434
|
//# sourceMappingURL=ScheduleEntryLockCC.d.ts.map
|
|
@@ -41,7 +41,7 @@ __export(ScheduleEntryLockCC_exports, {
|
|
|
41
41
|
ScheduleEntryLockCCTimeOffsetGet: () => ScheduleEntryLockCCTimeOffsetGet,
|
|
42
42
|
ScheduleEntryLockCCTimeOffsetReport: () => ScheduleEntryLockCCTimeOffsetReport,
|
|
43
43
|
ScheduleEntryLockCCTimeOffsetSet: () => ScheduleEntryLockCCTimeOffsetSet,
|
|
44
|
-
ScheduleEntryLockCCValues: () => ScheduleEntryLockCCValues,
|
|
44
|
+
ScheduleEntryLockCCValues: () => import_CCValues_generated.ScheduleEntryLockCCValues,
|
|
45
45
|
ScheduleEntryLockCCWeekDayScheduleGet: () => ScheduleEntryLockCCWeekDayScheduleGet,
|
|
46
46
|
ScheduleEntryLockCCWeekDayScheduleReport: () => ScheduleEntryLockCCWeekDayScheduleReport,
|
|
47
47
|
ScheduleEntryLockCCWeekDayScheduleSet: () => ScheduleEntryLockCCWeekDayScheduleSet,
|
|
@@ -60,6 +60,7 @@ var import_Values = require("../lib/Values.js");
|
|
|
60
60
|
var import_Types = require("../lib/_Types.js");
|
|
61
61
|
var import_serializers = require("../lib/serializers.js");
|
|
62
62
|
var import_UserCodeCC = require("./UserCodeCC.js");
|
|
63
|
+
var import_CCValues_generated = require("./_CCValues.generated.js");
|
|
63
64
|
var __runInitializers = function(thisArg, initializers, value) {
|
|
64
65
|
var useValue = arguments.length > 2;
|
|
65
66
|
for (var i = 0; i < initializers.length; i++) {
|
|
@@ -101,26 +102,8 @@ var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializ
|
|
|
101
102
|
done = true;
|
|
102
103
|
};
|
|
103
104
|
const { validateArgs_ScheduleEntryLockCCAPI_setEnabled, validateArgs_ScheduleEntryLockCCAPI_setWeekDaySchedule, validateArgs_ScheduleEntryLockCCAPI_getWeekDaySchedule, validateArgs_ScheduleEntryLockCCAPI_setYearDaySchedule, validateArgs_ScheduleEntryLockCCAPI_getYearDaySchedule, validateArgs_ScheduleEntryLockCCAPI_setDailyRepeatingSchedule, validateArgs_ScheduleEntryLockCCAPI_getDailyRepeatingSchedule, validateArgs_ScheduleEntryLockCCAPI_setTimezone } = __validateArgs;
|
|
104
|
-
const ScheduleEntryLockCCValues = Object.freeze({
|
|
105
|
-
...import_Values.V.defineStaticCCValues(import_core.CommandClasses["Schedule Entry Lock"], {
|
|
106
|
-
...import_Values.V.staticProperty("numWeekDaySlots", void 0, { internal: true }),
|
|
107
|
-
...import_Values.V.staticProperty("numYearDaySlots", void 0, { internal: true }),
|
|
108
|
-
...import_Values.V.staticProperty("numDailyRepeatingSlots", void 0, {
|
|
109
|
-
internal: true
|
|
110
|
-
})
|
|
111
|
-
}),
|
|
112
|
-
...import_Values.V.defineDynamicCCValues(import_core.CommandClasses["Schedule Entry Lock"], {
|
|
113
|
-
...import_Values.V.dynamicPropertyAndKeyWithName("userEnabled", "userEnabled", (userId) => userId, ({ property, propertyKey }) => property === "userEnabled" && typeof propertyKey === "number", void 0, { internal: true }),
|
|
114
|
-
...import_Values.V.dynamicPropertyAndKeyWithName("scheduleKind", "scheduleKind", (userId) => userId, ({ property, propertyKey }) => property === "scheduleKind" && typeof propertyKey === "number", void 0, { internal: true }),
|
|
115
|
-
...import_Values.V.dynamicPropertyAndKeyWithName("schedule", "schedule", (scheduleKind, userId, slotId) => toPropertyKey(scheduleKind, userId, slotId), ({ property, propertyKey }) => property === "schedule" && typeof propertyKey === "number", void 0, { internal: true })
|
|
116
|
-
})
|
|
117
|
-
});
|
|
118
|
-
function toPropertyKey(scheduleKind, userId, slotId) {
|
|
119
|
-
return scheduleKind << 16 | userId << 8 | slotId;
|
|
120
|
-
}
|
|
121
|
-
__name(toPropertyKey, "toPropertyKey");
|
|
122
105
|
function persistSchedule(ctx, scheduleKind, userId, slotId, schedule) {
|
|
123
|
-
const scheduleValue = ScheduleEntryLockCCValues.schedule(scheduleKind, userId, slotId);
|
|
106
|
+
const scheduleValue = import_CCValues_generated.ScheduleEntryLockCCValues.schedule(scheduleKind, userId, slotId);
|
|
124
107
|
if (schedule != void 0) {
|
|
125
108
|
this.setValue(ctx, scheduleValue, schedule);
|
|
126
109
|
} else {
|
|
@@ -129,12 +112,12 @@ function persistSchedule(ctx, scheduleKind, userId, slotId, schedule) {
|
|
|
129
112
|
}
|
|
130
113
|
__name(persistSchedule, "persistSchedule");
|
|
131
114
|
function setUserCodeScheduleKindCached(ctx, endpoint, userId, scheduleKind) {
|
|
132
|
-
ctx.getValueDB(endpoint.nodeId).setValue(ScheduleEntryLockCCValues.scheduleKind(userId).endpoint(endpoint.index), scheduleKind);
|
|
115
|
+
ctx.getValueDB(endpoint.nodeId).setValue(import_CCValues_generated.ScheduleEntryLockCCValues.scheduleKind(userId).endpoint(endpoint.index), scheduleKind);
|
|
133
116
|
}
|
|
134
117
|
__name(setUserCodeScheduleKindCached, "setUserCodeScheduleKindCached");
|
|
135
118
|
function setUserCodeScheduleEnabledCached(ctx, endpoint, userId, enabled) {
|
|
136
119
|
const setEnabled = /* @__PURE__ */ __name((userId2) => {
|
|
137
|
-
ctx.getValueDB(endpoint.nodeId).setValue(ScheduleEntryLockCCValues.userEnabled(userId2).endpoint(endpoint.index), enabled);
|
|
120
|
+
ctx.getValueDB(endpoint.nodeId).setValue(import_CCValues_generated.ScheduleEntryLockCCValues.userEnabled(userId2).endpoint(endpoint.index), enabled);
|
|
138
121
|
}, "setEnabled");
|
|
139
122
|
if (userId == void 0) {
|
|
140
123
|
const numUsers = import_UserCodeCC.UserCodeCC.getSupportedUsersCached(ctx, endpoint) ?? 0;
|
|
@@ -443,7 +426,7 @@ let ScheduleEntryLockCCAPI = (() => {
|
|
|
443
426
|
return ScheduleEntryLockCCAPI2 = _classThis;
|
|
444
427
|
})();
|
|
445
428
|
let ScheduleEntryLockCC = (() => {
|
|
446
|
-
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_core.CommandClasses["Schedule Entry Lock"]), (0, import_CommandClassDecorators.implementedVersion)(3), (0, import_CommandClassDecorators.ccValues)(ScheduleEntryLockCCValues)];
|
|
429
|
+
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_core.CommandClasses["Schedule Entry Lock"]), (0, import_CommandClassDecorators.implementedVersion)(3), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.ScheduleEntryLockCCValues)];
|
|
447
430
|
let _classDescriptor;
|
|
448
431
|
let _classExtraInitializers = [];
|
|
449
432
|
let _classThis;
|
|
@@ -509,21 +492,21 @@ daily repeating: ${slotsResp.numDailyRepeatingSlots}`;
|
|
|
509
492
|
* This only works AFTER the interview process
|
|
510
493
|
*/
|
|
511
494
|
static getNumWeekDaySlotsCached(ctx, endpoint) {
|
|
512
|
-
return ctx.getValueDB(endpoint.nodeId).getValue(ScheduleEntryLockCCValues.numWeekDaySlots.endpoint(endpoint.index)) || 0;
|
|
495
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.ScheduleEntryLockCCValues.numWeekDaySlots.endpoint(endpoint.index)) || 0;
|
|
513
496
|
}
|
|
514
497
|
/**
|
|
515
498
|
* Returns the number of supported day-of-year slots.
|
|
516
499
|
* This only works AFTER the interview process
|
|
517
500
|
*/
|
|
518
501
|
static getNumYearDaySlotsCached(ctx, endpoint) {
|
|
519
|
-
return ctx.getValueDB(endpoint.nodeId).getValue(ScheduleEntryLockCCValues.numYearDaySlots.endpoint(endpoint.index)) || 0;
|
|
502
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.ScheduleEntryLockCCValues.numYearDaySlots.endpoint(endpoint.index)) || 0;
|
|
520
503
|
}
|
|
521
504
|
/**
|
|
522
505
|
* Returns the number of supported daily-repeating slots.
|
|
523
506
|
* This only works AFTER the interview process
|
|
524
507
|
*/
|
|
525
508
|
static getNumDailyRepeatingSlotsCached(ctx, endpoint) {
|
|
526
|
-
return ctx.getValueDB(endpoint.nodeId).getValue(ScheduleEntryLockCCValues.numDailyRepeatingSlots.endpoint(endpoint.index)) || 0;
|
|
509
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.ScheduleEntryLockCCValues.numDailyRepeatingSlots.endpoint(endpoint.index)) || 0;
|
|
527
510
|
}
|
|
528
511
|
/**
|
|
529
512
|
* Returns whether scheduling for a given user ID (most likely) enabled. Since the Schedule Entry Lock CC
|
|
@@ -534,7 +517,7 @@ daily repeating: ${slotsResp.numDailyRepeatingSlots}`;
|
|
|
534
517
|
* only the desired ones.
|
|
535
518
|
*/
|
|
536
519
|
static getUserCodeScheduleEnabledCached(ctx, endpoint, userId) {
|
|
537
|
-
return !!ctx.getValueDB(endpoint.nodeId).getValue(ScheduleEntryLockCCValues.userEnabled(userId).endpoint(endpoint.index));
|
|
520
|
+
return !!ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.ScheduleEntryLockCCValues.userEnabled(userId).endpoint(endpoint.index));
|
|
538
521
|
}
|
|
539
522
|
/**
|
|
540
523
|
* Returns which scheduling kind is (most likely) enabled for a given user ID . Since the Schedule Entry Lock CC
|
|
@@ -545,7 +528,7 @@ daily repeating: ${slotsResp.numDailyRepeatingSlots}`;
|
|
|
545
528
|
* which will automatically switch the user to that scheduling kind.
|
|
546
529
|
*/
|
|
547
530
|
static getUserCodeScheduleKindCached(ctx, endpoint, userId) {
|
|
548
|
-
return ctx.getValueDB(endpoint.nodeId).getValue(ScheduleEntryLockCCValues.scheduleKind(userId).endpoint(endpoint.index));
|
|
531
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.ScheduleEntryLockCCValues.scheduleKind(userId).endpoint(endpoint.index));
|
|
549
532
|
}
|
|
550
533
|
/**
|
|
551
534
|
* Returns the assumed state of a schedule. Since the Schedule Entry Lock CC
|
|
@@ -556,7 +539,7 @@ daily repeating: ${slotsResp.numDailyRepeatingSlots}`;
|
|
|
556
539
|
* This only works AFTER the interview process.
|
|
557
540
|
*/
|
|
558
541
|
static getScheduleCached(ctx, endpoint, scheduleKind, userId, slotId) {
|
|
559
|
-
return ctx.getValueDB(endpoint.nodeId).getValue(ScheduleEntryLockCCValues.schedule(scheduleKind, userId, slotId).endpoint(endpoint.index));
|
|
542
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.ScheduleEntryLockCCValues.schedule(scheduleKind, userId, slotId).endpoint(endpoint.index));
|
|
560
543
|
}
|
|
561
544
|
};
|
|
562
545
|
return ScheduleEntryLockCC2 = _classThis;
|
|
@@ -663,7 +646,7 @@ let ScheduleEntryLockCCEnableAllSet = (() => {
|
|
|
663
646
|
return ScheduleEntryLockCCEnableAllSet2 = _classThis;
|
|
664
647
|
})();
|
|
665
648
|
let ScheduleEntryLockCCSupportedReport = (() => {
|
|
666
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ScheduleEntryLockCommand.SupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("numWeekDaySlots", ScheduleEntryLockCCValues.numWeekDaySlots), (0, import_CommandClassDecorators.ccValueProperty)("numYearDaySlots", ScheduleEntryLockCCValues.numYearDaySlots), (0, import_CommandClassDecorators.ccValueProperty)("numDailyRepeatingSlots", ScheduleEntryLockCCValues.numDailyRepeatingSlots)];
|
|
649
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.ScheduleEntryLockCommand.SupportedReport), (0, import_CommandClassDecorators.ccValueProperty)("numWeekDaySlots", import_CCValues_generated.ScheduleEntryLockCCValues.numWeekDaySlots), (0, import_CommandClassDecorators.ccValueProperty)("numYearDaySlots", import_CCValues_generated.ScheduleEntryLockCCValues.numYearDaySlots), (0, import_CommandClassDecorators.ccValueProperty)("numDailyRepeatingSlots", import_CCValues_generated.ScheduleEntryLockCCValues.numDailyRepeatingSlots)];
|
|
667
650
|
let _classDescriptor;
|
|
668
651
|
let _classExtraInitializers = [];
|
|
669
652
|
let _classThis;
|