@zwave-js/cc 14.3.10 → 15.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/cc/AlarmSensorCC.d.ts +139 -57
- package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
- package/build/cjs/cc/AssociationCC.d.ts +178 -43
- package/build/cjs/cc/AssociationCC.js +0 -4
- package/build/cjs/cc/AssociationCC.js.map +2 -2
- package/build/cjs/cc/AssociationGroupInfoCC.d.ts +138 -38
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
- package/build/cjs/cc/BarrierOperatorCC.d.ts +275 -73
- package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
- package/build/cjs/cc/BasicCC.d.ts +316 -71
- package/build/cjs/cc/BasicCC.js.map +2 -2
- package/build/cjs/cc/BatteryCC.d.ts +759 -164
- package/build/cjs/cc/BatteryCC.js.map +2 -2
- package/build/cjs/cc/BinarySensorCC.d.ts +91 -26
- package/build/cjs/cc/BinarySensorCC.js.map +2 -2
- package/build/cjs/cc/BinarySwitchCC.d.ts +190 -38
- 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 +272 -53
- package/build/cjs/cc/CentralSceneCC.js.map +2 -2
- package/build/cjs/cc/ClimateControlScheduleCC.d.ts +150 -37
- 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 +423 -96
- 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 +101 -37
- package/build/cjs/cc/ConfigurationCC.js +0 -8
- 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 +1731 -419
- package/build/cjs/cc/DoorLockCC.js.map +2 -2
- package/build/cjs/cc/DoorLockLoggingCC.d.ts +64 -12
- package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
- package/build/cjs/cc/EnergyProductionCC.d.ts +29 -14
- package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
- package/build/cjs/cc/EntryControlCC.d.ts +308 -57
- 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 +389 -64
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +154 -8
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlModeCC.d.ts +125 -27
- package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +64 -18
- package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlSetpointCC.d.ts +116 -39
- 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 +325 -83
- package/build/cjs/cc/IndicatorCC.js.map +2 -2
- package/build/cjs/cc/IrrigationCC.d.ts +2170 -683
- package/build/cjs/cc/IrrigationCC.js.map +2 -2
- package/build/cjs/cc/LanguageCC.d.ts +128 -26
- package/build/cjs/cc/LanguageCC.js.map +2 -2
- package/build/cjs/cc/LockCC.d.ts +64 -14
- 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 +219 -57
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
- package/build/cjs/cc/MeterCC.d.ts +364 -89
- package/build/cjs/cc/MeterCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelAssociationCC.d.ts +138 -40
- package/build/cjs/cc/MultiChannelAssociationCC.js +0 -5
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelCC.d.ts +469 -99
- package/build/cjs/cc/MultiChannelCC.js +8 -72
- 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 +118 -33
- package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +490 -125
- package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
- package/build/cjs/cc/NodeNamingCC.d.ts +128 -26
- package/build/cjs/cc/NodeNamingCC.js.map +2 -2
- package/build/cjs/cc/NotificationCC.d.ts +603 -161
- package/build/cjs/cc/NotificationCC.js +12 -1
- 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 +496 -94
- package/build/cjs/cc/ProtectionCC.js.map +2 -2
- package/build/cjs/cc/SceneActivationCC.d.ts +127 -28
- package/build/cjs/cc/SceneActivationCC.js.map +2 -2
- package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +52 -25
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
- package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +53 -25
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
- package/build/cjs/cc/ScheduleEntryLockCC.d.ts +268 -64
- 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 +253 -64
- package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
- package/build/cjs/cc/SupervisionCC.d.ts +28 -16
- package/build/cjs/cc/SupervisionCC.js +4 -29
- package/build/cjs/cc/SupervisionCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanModeCC.d.ts +187 -38
- package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanStateCC.d.ts +64 -18
- package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatModeCC.d.ts +189 -40
- package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +65 -19
- 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 +116 -36
- 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 +63 -12
- 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 +931 -176
- package/build/cjs/cc/UserCodeCC.js.map +2 -2
- package/build/cjs/cc/VersionCC.d.ts +897 -185
- package/build/cjs/cc/VersionCC.js.map +2 -2
- package/build/cjs/cc/WakeUpCC.d.ts +190 -38
- package/build/cjs/cc/WakeUpCC.js.map +2 -2
- package/build/cjs/cc/WindowCoveringCC.d.ts +193 -103
- package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
- package/build/cjs/cc/ZWavePlusCC.d.ts +311 -51
- 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/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/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 +2 -2
- package/build/cjs/lib/Values.js.map +2 -2
- 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 +139 -57
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
- package/build/esm/cc/AlarmSensorCC.js +0 -1
- package/build/esm/cc/AlarmSensorCC.js.map +1 -1
- package/build/esm/cc/AssociationCC.d.ts +178 -43
- package/build/esm/cc/AssociationCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationCC.js +0 -13
- package/build/esm/cc/AssociationCC.js.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.d.ts +138 -38
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.js +0 -6
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.d.ts +275 -73
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.js +0 -3
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
- package/build/esm/cc/BasicCC.d.ts +316 -71
- package/build/esm/cc/BasicCC.d.ts.map +1 -1
- package/build/esm/cc/BasicCC.js +0 -2
- package/build/esm/cc/BasicCC.js.map +1 -1
- package/build/esm/cc/BatteryCC.d.ts +759 -164
- package/build/esm/cc/BatteryCC.d.ts.map +1 -1
- package/build/esm/cc/BatteryCC.js +1 -2
- package/build/esm/cc/BatteryCC.js.map +1 -1
- package/build/esm/cc/BinarySensorCC.d.ts +91 -26
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySensorCC.js +0 -3
- package/build/esm/cc/BinarySensorCC.js.map +1 -1
- package/build/esm/cc/BinarySwitchCC.d.ts +190 -38
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySwitchCC.js +0 -2
- 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 +272 -53
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
- package/build/esm/cc/CentralSceneCC.js +0 -1
- package/build/esm/cc/CentralSceneCC.js.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.d.ts +150 -37
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.js +0 -3
- 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 +423 -96
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/ColorSwitchCC.js +0 -6
- 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 +101 -37
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/ConfigurationCC.js +0 -25
- 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 +1731 -419
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockCC.js +0 -2
- package/build/esm/cc/DoorLockCC.js.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.d.ts +64 -12
- package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.js +0 -1
- package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
- package/build/esm/cc/EnergyProductionCC.d.ts +29 -14
- package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
- package/build/esm/cc/EnergyProductionCC.js +0 -2
- package/build/esm/cc/EnergyProductionCC.js.map +1 -1
- package/build/esm/cc/EntryControlCC.d.ts +308 -57
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
- package/build/esm/cc/EntryControlCC.js +0 -1
- 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 +389 -64
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +158 -30
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.d.ts +125 -27
- package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.js +0 -1
- package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +64 -18
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.d.ts +116 -39
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.js +0 -4
- 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 +325 -83
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
- package/build/esm/cc/IndicatorCC.js +0 -7
- package/build/esm/cc/IndicatorCC.js.map +1 -1
- package/build/esm/cc/IrrigationCC.d.ts +2170 -683
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
- package/build/esm/cc/IrrigationCC.js +0 -9
- package/build/esm/cc/IrrigationCC.js.map +1 -1
- package/build/esm/cc/LanguageCC.d.ts +128 -26
- package/build/esm/cc/LanguageCC.d.ts.map +1 -1
- package/build/esm/cc/LanguageCC.js +0 -1
- package/build/esm/cc/LanguageCC.js.map +1 -1
- package/build/esm/cc/LockCC.d.ts +64 -14
- package/build/esm/cc/LockCC.d.ts.map +1 -1
- package/build/esm/cc/LockCC.js +0 -1
- 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 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +219 -57
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.js +0 -2
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
- package/build/esm/cc/MeterCC.d.ts +364 -89
- package/build/esm/cc/MeterCC.d.ts.map +1 -1
- package/build/esm/cc/MeterCC.js +0 -4
- package/build/esm/cc/MeterCC.js.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.d.ts +138 -40
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.js +0 -16
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
- package/build/esm/cc/MultiChannelCC.d.ts +469 -99
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelCC.js +8 -101
- 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 +118 -33
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.js +0 -5
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.d.ts +490 -125
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.js +0 -4
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
- package/build/esm/cc/NodeNamingCC.d.ts +128 -26
- package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
- package/build/esm/cc/NodeNamingCC.js +0 -2
- package/build/esm/cc/NodeNamingCC.js.map +1 -1
- package/build/esm/cc/NotificationCC.d.ts +603 -161
- package/build/esm/cc/NotificationCC.d.ts.map +1 -1
- package/build/esm/cc/NotificationCC.js +18 -12
- 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 +496 -94
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
- package/build/esm/cc/ProtectionCC.js +0 -3
- package/build/esm/cc/ProtectionCC.js.map +1 -1
- package/build/esm/cc/SceneActivationCC.d.ts +127 -28
- package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActivationCC.js +0 -1
- package/build/esm/cc/SceneActivationCC.js.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +52 -25
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.js +0 -2
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts +53 -25
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.js +0 -2
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.d.ts +268 -64
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.js +0 -14
- 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 +253 -64
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/SoundSwitchCC.js +0 -7
- package/build/esm/cc/SoundSwitchCC.js.map +1 -1
- package/build/esm/cc/SupervisionCC.d.ts +28 -16
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
- package/build/esm/cc/SupervisionCC.js +4 -34
- package/build/esm/cc/SupervisionCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.d.ts +187 -38
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.js +0 -1
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.d.ts +64 -18
- package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatModeCC.d.ts +189 -40
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatModeCC.js +0 -3
- package/build/esm/cc/ThermostatModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts +65 -19
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
- 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 +116 -36
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.js +0 -6
- 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 +63 -12
- package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
- package/build/esm/cc/TimeParametersCC.js +0 -1
- 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 +931 -176
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
- package/build/esm/cc/UserCodeCC.js +0 -12
- package/build/esm/cc/UserCodeCC.js.map +1 -1
- package/build/esm/cc/VersionCC.d.ts +897 -185
- package/build/esm/cc/VersionCC.d.ts.map +1 -1
- package/build/esm/cc/VersionCC.js +0 -4
- package/build/esm/cc/VersionCC.js.map +1 -1
- package/build/esm/cc/WakeUpCC.d.ts +190 -38
- package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
- package/build/esm/cc/WakeUpCC.js +0 -1
- package/build/esm/cc/WakeUpCC.js.map +1 -1
- package/build/esm/cc/WindowCoveringCC.d.ts +193 -103
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
- package/build/esm/cc/WindowCoveringCC.js +0 -5
- package/build/esm/cc/WindowCoveringCC.js.map +1 -1
- package/build/esm/cc/ZWavePlusCC.d.ts +311 -51
- package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
- package/build/esm/cc/ZWavePlusCC.js +0 -1
- 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/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/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 +2 -2
- package/build/esm/lib/Values.d.ts.map +1 -1
- 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 +13 -13
|
@@ -1,29 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
|
|
2
|
+
import { CommandClasses, Duration, type GetValueDB, type MaybeNotKnown, type MaybeUnknown, type MessageOrCCLogEntry, type SupervisionResult, ValueMetadata, 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, SET_VALUE_HOOKS, type SetValueImplementation, type SetValueImplementationHooksFactory } from "../lib/API.js";
|
|
5
5
|
import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
|
|
6
6
|
import { LevelChangeDirection, MultilevelSwitchCommand, SwitchType } from "../lib/_Types.js";
|
|
7
7
|
export declare const MultilevelSwitchCCValues: Readonly<{
|
|
8
8
|
levelChangeDown: ((switchType: SwitchType) => {
|
|
9
|
-
readonly meta: {
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly states: {
|
|
13
|
-
readonly true: "Start";
|
|
14
|
-
readonly false: "Stop";
|
|
15
|
-
};
|
|
16
|
-
readonly ccSpecific: {
|
|
17
|
-
readonly switchType: SwitchType;
|
|
18
|
-
};
|
|
19
|
-
readonly readable: false;
|
|
20
|
-
readonly type: "boolean";
|
|
9
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
10
|
+
readonly type: "any";
|
|
11
|
+
readonly readable: true;
|
|
21
12
|
readonly writeable: true;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
13
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
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;
|
|
27
35
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
28
36
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
29
37
|
readonly endpoint: number;
|
|
@@ -41,24 +49,32 @@ export declare const MultilevelSwitchCCValues: Readonly<{
|
|
|
41
49
|
};
|
|
42
50
|
};
|
|
43
51
|
levelChangeUp: ((switchType: SwitchType) => {
|
|
44
|
-
readonly meta: {
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly states: {
|
|
48
|
-
readonly true: "Start";
|
|
49
|
-
readonly false: "Stop";
|
|
50
|
-
};
|
|
51
|
-
readonly ccSpecific: {
|
|
52
|
-
readonly switchType: SwitchType;
|
|
53
|
-
};
|
|
54
|
-
readonly readable: false;
|
|
55
|
-
readonly type: "boolean";
|
|
52
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
53
|
+
readonly type: "any";
|
|
54
|
+
readonly readable: true;
|
|
56
55
|
readonly writeable: true;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
56
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
57
|
+
readonly type: "any";
|
|
58
|
+
readonly readable: true;
|
|
59
|
+
readonly writeable: true;
|
|
60
|
+
}>, ("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<{
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
77
|
+
readonly id: ValueIDBase;
|
|
62
78
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
63
79
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
64
80
|
readonly endpoint: number;
|
|
@@ -76,194 +92,543 @@ export declare const MultilevelSwitchCCValues: Readonly<{
|
|
|
76
92
|
};
|
|
77
93
|
};
|
|
78
94
|
superviseStartStopLevelChange: {
|
|
79
|
-
readonly id:
|
|
80
|
-
commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
81
|
-
property: "superviseStartStopLevelChange";
|
|
82
|
-
};
|
|
95
|
+
readonly id: ValueIDBase;
|
|
83
96
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
84
97
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
85
98
|
readonly endpoint: number;
|
|
86
99
|
readonly property: "superviseStartStopLevelChange";
|
|
87
100
|
};
|
|
88
101
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
89
|
-
readonly meta: {
|
|
102
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
90
103
|
readonly type: "any";
|
|
91
104
|
readonly readable: true;
|
|
92
105
|
readonly writeable: true;
|
|
93
|
-
}
|
|
94
|
-
|
|
106
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
107
|
+
readonly type: "any";
|
|
108
|
+
readonly readable: true;
|
|
109
|
+
readonly writeable: true;
|
|
110
|
+
}>, ("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<{
|
|
111
|
+
readonly type: "any";
|
|
112
|
+
readonly readable: true;
|
|
113
|
+
readonly writeable: true;
|
|
114
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
115
|
+
readonly type: "any";
|
|
116
|
+
readonly readable: true;
|
|
117
|
+
readonly writeable: true;
|
|
118
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
119
|
+
readonly type: "any";
|
|
120
|
+
readonly readable: true;
|
|
121
|
+
readonly writeable: true;
|
|
122
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
123
|
+
readonly type: "any";
|
|
124
|
+
readonly readable: true;
|
|
125
|
+
readonly writeable: true;
|
|
126
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
127
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
128
|
+
readonly internal: false;
|
|
129
|
+
readonly minVersion: 1;
|
|
130
|
+
readonly secret: false;
|
|
95
131
|
readonly stateful: true;
|
|
132
|
+
readonly supportsEndpoints: true;
|
|
133
|
+
readonly autoCreate: true;
|
|
134
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
135
|
+
readonly internal: false;
|
|
136
|
+
readonly minVersion: 1;
|
|
96
137
|
readonly secret: false;
|
|
138
|
+
readonly stateful: true;
|
|
139
|
+
readonly supportsEndpoints: true;
|
|
140
|
+
readonly autoCreate: true;
|
|
141
|
+
}, ("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"]> ? {
|
|
142
|
+
readonly internal: false;
|
|
97
143
|
readonly minVersion: 1;
|
|
144
|
+
readonly secret: false;
|
|
145
|
+
readonly stateful: true;
|
|
146
|
+
readonly supportsEndpoints: true;
|
|
98
147
|
readonly autoCreate: true;
|
|
99
|
-
|
|
100
|
-
readonly
|
|
101
|
-
|
|
148
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
149
|
+
readonly internal: false;
|
|
150
|
+
readonly minVersion: 1;
|
|
151
|
+
readonly secret: false;
|
|
152
|
+
readonly stateful: true;
|
|
153
|
+
readonly supportsEndpoints: true;
|
|
154
|
+
readonly autoCreate: true;
|
|
155
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
156
|
+
readonly internal: false;
|
|
157
|
+
readonly minVersion: 1;
|
|
158
|
+
readonly secret: false;
|
|
159
|
+
readonly stateful: true;
|
|
160
|
+
readonly supportsEndpoints: true;
|
|
161
|
+
readonly autoCreate: true;
|
|
162
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
163
|
+
readonly internal: false;
|
|
164
|
+
readonly minVersion: 1;
|
|
165
|
+
readonly secret: false;
|
|
166
|
+
readonly stateful: true;
|
|
167
|
+
readonly supportsEndpoints: true;
|
|
168
|
+
readonly autoCreate: true;
|
|
169
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
102
170
|
};
|
|
103
171
|
switchType: {
|
|
104
|
-
readonly id:
|
|
105
|
-
commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
106
|
-
property: "switchType";
|
|
107
|
-
};
|
|
172
|
+
readonly id: ValueIDBase;
|
|
108
173
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
109
174
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
110
175
|
readonly endpoint: number;
|
|
111
176
|
readonly property: "switchType";
|
|
112
177
|
};
|
|
113
178
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
114
|
-
readonly meta: {
|
|
179
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
115
180
|
readonly type: "any";
|
|
116
181
|
readonly readable: true;
|
|
117
182
|
readonly writeable: true;
|
|
118
|
-
}
|
|
119
|
-
|
|
183
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
184
|
+
readonly type: "any";
|
|
185
|
+
readonly readable: true;
|
|
186
|
+
readonly writeable: true;
|
|
187
|
+
}>, ("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<{
|
|
188
|
+
readonly type: "any";
|
|
189
|
+
readonly readable: true;
|
|
190
|
+
readonly writeable: true;
|
|
191
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
192
|
+
readonly type: "any";
|
|
193
|
+
readonly readable: true;
|
|
194
|
+
readonly writeable: true;
|
|
195
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
196
|
+
readonly type: "any";
|
|
197
|
+
readonly readable: true;
|
|
198
|
+
readonly writeable: true;
|
|
199
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
200
|
+
readonly type: "any";
|
|
201
|
+
readonly readable: true;
|
|
202
|
+
readonly writeable: true;
|
|
203
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
204
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
205
|
+
readonly internal: false;
|
|
206
|
+
readonly minVersion: 1;
|
|
207
|
+
readonly secret: false;
|
|
120
208
|
readonly stateful: true;
|
|
209
|
+
readonly supportsEndpoints: true;
|
|
210
|
+
readonly autoCreate: true;
|
|
211
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
212
|
+
readonly internal: false;
|
|
213
|
+
readonly minVersion: 1;
|
|
121
214
|
readonly secret: false;
|
|
215
|
+
readonly stateful: true;
|
|
216
|
+
readonly supportsEndpoints: true;
|
|
217
|
+
readonly autoCreate: true;
|
|
218
|
+
}, ("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"]> ? {
|
|
219
|
+
readonly internal: false;
|
|
122
220
|
readonly minVersion: 1;
|
|
221
|
+
readonly secret: false;
|
|
222
|
+
readonly stateful: true;
|
|
123
223
|
readonly supportsEndpoints: true;
|
|
124
224
|
readonly autoCreate: true;
|
|
125
|
-
|
|
126
|
-
|
|
225
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
226
|
+
readonly internal: false;
|
|
227
|
+
readonly minVersion: 1;
|
|
228
|
+
readonly secret: false;
|
|
229
|
+
readonly stateful: true;
|
|
230
|
+
readonly supportsEndpoints: true;
|
|
231
|
+
readonly autoCreate: true;
|
|
232
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
233
|
+
readonly internal: false;
|
|
234
|
+
readonly minVersion: 1;
|
|
235
|
+
readonly secret: false;
|
|
236
|
+
readonly stateful: true;
|
|
237
|
+
readonly supportsEndpoints: true;
|
|
238
|
+
readonly autoCreate: true;
|
|
239
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
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
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
127
247
|
};
|
|
128
248
|
compatEvent: {
|
|
129
|
-
readonly id:
|
|
130
|
-
commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
131
|
-
property: "event";
|
|
132
|
-
};
|
|
249
|
+
readonly id: ValueIDBase;
|
|
133
250
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
134
251
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
135
252
|
readonly endpoint: number;
|
|
136
253
|
readonly property: "event";
|
|
137
254
|
};
|
|
138
255
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
139
|
-
readonly meta: {
|
|
140
|
-
readonly
|
|
141
|
-
readonly writeable: false;
|
|
142
|
-
readonly min: 0;
|
|
143
|
-
readonly max: 255;
|
|
144
|
-
readonly type: "number";
|
|
256
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
257
|
+
readonly type: "any";
|
|
145
258
|
readonly readable: true;
|
|
146
|
-
|
|
147
|
-
|
|
259
|
+
readonly writeable: true;
|
|
260
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
261
|
+
readonly type: "any";
|
|
262
|
+
readonly readable: true;
|
|
263
|
+
readonly writeable: true;
|
|
264
|
+
}>, ("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<{
|
|
265
|
+
readonly type: "any";
|
|
266
|
+
readonly readable: true;
|
|
267
|
+
readonly writeable: true;
|
|
268
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
269
|
+
readonly type: "any";
|
|
270
|
+
readonly readable: true;
|
|
271
|
+
readonly writeable: true;
|
|
272
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
273
|
+
readonly type: "any";
|
|
274
|
+
readonly readable: true;
|
|
275
|
+
readonly writeable: true;
|
|
276
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
277
|
+
readonly type: "any";
|
|
278
|
+
readonly readable: true;
|
|
279
|
+
readonly writeable: true;
|
|
280
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
281
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
282
|
+
readonly internal: false;
|
|
283
|
+
readonly minVersion: 1;
|
|
148
284
|
readonly secret: false;
|
|
285
|
+
readonly stateful: true;
|
|
286
|
+
readonly supportsEndpoints: true;
|
|
287
|
+
readonly autoCreate: true;
|
|
288
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
149
289
|
readonly internal: false;
|
|
150
290
|
readonly minVersion: 1;
|
|
291
|
+
readonly secret: false;
|
|
292
|
+
readonly stateful: true;
|
|
151
293
|
readonly supportsEndpoints: true;
|
|
152
|
-
readonly
|
|
153
|
-
|
|
154
|
-
|
|
294
|
+
readonly autoCreate: true;
|
|
295
|
+
}, ("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"]> ? {
|
|
296
|
+
readonly internal: false;
|
|
297
|
+
readonly minVersion: 1;
|
|
298
|
+
readonly secret: false;
|
|
299
|
+
readonly stateful: true;
|
|
300
|
+
readonly supportsEndpoints: true;
|
|
301
|
+
readonly autoCreate: true;
|
|
302
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
303
|
+
readonly internal: false;
|
|
304
|
+
readonly minVersion: 1;
|
|
305
|
+
readonly secret: false;
|
|
306
|
+
readonly stateful: true;
|
|
307
|
+
readonly supportsEndpoints: true;
|
|
308
|
+
readonly autoCreate: true;
|
|
309
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
310
|
+
readonly internal: false;
|
|
311
|
+
readonly minVersion: 1;
|
|
312
|
+
readonly secret: false;
|
|
313
|
+
readonly stateful: true;
|
|
314
|
+
readonly supportsEndpoints: true;
|
|
315
|
+
readonly autoCreate: true;
|
|
316
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
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
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
155
324
|
};
|
|
156
325
|
restorePrevious: {
|
|
157
|
-
readonly id:
|
|
158
|
-
commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
159
|
-
property: "restorePrevious";
|
|
160
|
-
};
|
|
326
|
+
readonly id: ValueIDBase;
|
|
161
327
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
162
328
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
163
329
|
readonly endpoint: number;
|
|
164
330
|
readonly property: "restorePrevious";
|
|
165
331
|
};
|
|
166
332
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
167
|
-
readonly meta: {
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly true: "Restore";
|
|
171
|
-
};
|
|
172
|
-
readonly readable: false;
|
|
173
|
-
readonly type: "boolean";
|
|
333
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
334
|
+
readonly type: "any";
|
|
335
|
+
readonly readable: true;
|
|
174
336
|
readonly writeable: true;
|
|
175
|
-
}
|
|
176
|
-
|
|
337
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
338
|
+
readonly type: "any";
|
|
339
|
+
readonly readable: true;
|
|
340
|
+
readonly writeable: true;
|
|
341
|
+
}>, ("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<{
|
|
342
|
+
readonly type: "any";
|
|
343
|
+
readonly readable: true;
|
|
344
|
+
readonly writeable: true;
|
|
345
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
346
|
+
readonly type: "any";
|
|
347
|
+
readonly readable: true;
|
|
348
|
+
readonly writeable: true;
|
|
349
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
350
|
+
readonly type: "any";
|
|
351
|
+
readonly readable: true;
|
|
352
|
+
readonly writeable: true;
|
|
353
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
354
|
+
readonly type: "any";
|
|
355
|
+
readonly readable: true;
|
|
356
|
+
readonly writeable: true;
|
|
357
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
358
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
177
359
|
readonly internal: false;
|
|
178
360
|
readonly minVersion: 1;
|
|
179
361
|
readonly secret: false;
|
|
180
362
|
readonly stateful: true;
|
|
181
363
|
readonly supportsEndpoints: true;
|
|
182
364
|
readonly autoCreate: true;
|
|
183
|
-
}
|
|
365
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
366
|
+
readonly internal: false;
|
|
367
|
+
readonly minVersion: 1;
|
|
368
|
+
readonly secret: false;
|
|
369
|
+
readonly stateful: true;
|
|
370
|
+
readonly supportsEndpoints: true;
|
|
371
|
+
readonly autoCreate: true;
|
|
372
|
+
}, ("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"]> ? {
|
|
373
|
+
readonly internal: false;
|
|
374
|
+
readonly minVersion: 1;
|
|
375
|
+
readonly secret: false;
|
|
376
|
+
readonly stateful: true;
|
|
377
|
+
readonly supportsEndpoints: true;
|
|
378
|
+
readonly autoCreate: true;
|
|
379
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
380
|
+
readonly internal: false;
|
|
381
|
+
readonly minVersion: 1;
|
|
382
|
+
readonly secret: false;
|
|
383
|
+
readonly stateful: true;
|
|
384
|
+
readonly supportsEndpoints: true;
|
|
385
|
+
readonly autoCreate: true;
|
|
386
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
387
|
+
readonly internal: false;
|
|
388
|
+
readonly minVersion: 1;
|
|
389
|
+
readonly secret: false;
|
|
390
|
+
readonly stateful: true;
|
|
391
|
+
readonly supportsEndpoints: true;
|
|
392
|
+
readonly autoCreate: true;
|
|
393
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
394
|
+
readonly internal: false;
|
|
395
|
+
readonly minVersion: 1;
|
|
396
|
+
readonly secret: false;
|
|
397
|
+
readonly stateful: true;
|
|
398
|
+
readonly supportsEndpoints: true;
|
|
399
|
+
readonly autoCreate: true;
|
|
400
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
184
401
|
};
|
|
185
402
|
duration: {
|
|
186
|
-
readonly id:
|
|
187
|
-
commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
188
|
-
property: "duration";
|
|
189
|
-
};
|
|
403
|
+
readonly id: ValueIDBase;
|
|
190
404
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
191
405
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
192
406
|
readonly endpoint: number;
|
|
193
407
|
readonly property: "duration";
|
|
194
408
|
};
|
|
195
409
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
196
|
-
readonly meta: {
|
|
197
|
-
readonly
|
|
198
|
-
readonly writeable: false;
|
|
199
|
-
readonly type: "duration";
|
|
410
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
411
|
+
readonly type: "any";
|
|
200
412
|
readonly readable: true;
|
|
201
|
-
|
|
202
|
-
|
|
413
|
+
readonly writeable: true;
|
|
414
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
415
|
+
readonly type: "any";
|
|
416
|
+
readonly readable: true;
|
|
417
|
+
readonly writeable: true;
|
|
418
|
+
}>, ("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<{
|
|
419
|
+
readonly type: "any";
|
|
420
|
+
readonly readable: true;
|
|
421
|
+
readonly writeable: true;
|
|
422
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
423
|
+
readonly type: "any";
|
|
424
|
+
readonly readable: true;
|
|
425
|
+
readonly writeable: true;
|
|
426
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
427
|
+
readonly type: "any";
|
|
428
|
+
readonly readable: true;
|
|
429
|
+
readonly writeable: true;
|
|
430
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
431
|
+
readonly type: "any";
|
|
432
|
+
readonly readable: true;
|
|
433
|
+
readonly writeable: true;
|
|
434
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
435
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
203
436
|
readonly internal: false;
|
|
204
437
|
readonly minVersion: 1;
|
|
205
438
|
readonly secret: false;
|
|
206
439
|
readonly stateful: true;
|
|
207
440
|
readonly supportsEndpoints: true;
|
|
208
441
|
readonly autoCreate: true;
|
|
209
|
-
}
|
|
442
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
443
|
+
readonly internal: false;
|
|
444
|
+
readonly minVersion: 1;
|
|
445
|
+
readonly secret: false;
|
|
446
|
+
readonly stateful: true;
|
|
447
|
+
readonly supportsEndpoints: true;
|
|
448
|
+
readonly autoCreate: true;
|
|
449
|
+
}, ("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"]> ? {
|
|
450
|
+
readonly internal: false;
|
|
451
|
+
readonly minVersion: 1;
|
|
452
|
+
readonly secret: false;
|
|
453
|
+
readonly stateful: true;
|
|
454
|
+
readonly supportsEndpoints: true;
|
|
455
|
+
readonly autoCreate: true;
|
|
456
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
457
|
+
readonly internal: false;
|
|
458
|
+
readonly minVersion: 1;
|
|
459
|
+
readonly secret: false;
|
|
460
|
+
readonly stateful: true;
|
|
461
|
+
readonly supportsEndpoints: true;
|
|
462
|
+
readonly autoCreate: true;
|
|
463
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
464
|
+
readonly internal: false;
|
|
465
|
+
readonly minVersion: 1;
|
|
466
|
+
readonly secret: false;
|
|
467
|
+
readonly stateful: true;
|
|
468
|
+
readonly supportsEndpoints: true;
|
|
469
|
+
readonly autoCreate: true;
|
|
470
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
471
|
+
readonly internal: false;
|
|
472
|
+
readonly minVersion: 1;
|
|
473
|
+
readonly secret: false;
|
|
474
|
+
readonly stateful: true;
|
|
475
|
+
readonly supportsEndpoints: true;
|
|
476
|
+
readonly autoCreate: true;
|
|
477
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
210
478
|
};
|
|
211
479
|
targetValue: {
|
|
212
|
-
readonly id:
|
|
213
|
-
commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
214
|
-
property: "targetValue";
|
|
215
|
-
};
|
|
480
|
+
readonly id: ValueIDBase;
|
|
216
481
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
217
482
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
218
483
|
readonly endpoint: number;
|
|
219
484
|
readonly property: "targetValue";
|
|
220
485
|
};
|
|
221
486
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
222
|
-
readonly meta: {
|
|
223
|
-
readonly
|
|
224
|
-
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
225
|
-
readonly max: 99;
|
|
226
|
-
readonly min: 0;
|
|
227
|
-
readonly type: "number";
|
|
487
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
488
|
+
readonly type: "any";
|
|
228
489
|
readonly readable: true;
|
|
229
490
|
readonly writeable: true;
|
|
230
|
-
}
|
|
231
|
-
|
|
491
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
492
|
+
readonly type: "any";
|
|
493
|
+
readonly readable: true;
|
|
494
|
+
readonly writeable: true;
|
|
495
|
+
}>, ("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<{
|
|
496
|
+
readonly type: "any";
|
|
497
|
+
readonly readable: true;
|
|
498
|
+
readonly writeable: true;
|
|
499
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
500
|
+
readonly type: "any";
|
|
501
|
+
readonly readable: true;
|
|
502
|
+
readonly writeable: true;
|
|
503
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
504
|
+
readonly type: "any";
|
|
505
|
+
readonly readable: true;
|
|
506
|
+
readonly writeable: true;
|
|
507
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
508
|
+
readonly type: "any";
|
|
509
|
+
readonly readable: true;
|
|
510
|
+
readonly writeable: true;
|
|
511
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
512
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
232
513
|
readonly internal: false;
|
|
233
514
|
readonly minVersion: 1;
|
|
234
515
|
readonly secret: false;
|
|
235
516
|
readonly stateful: true;
|
|
236
517
|
readonly supportsEndpoints: true;
|
|
237
518
|
readonly autoCreate: true;
|
|
238
|
-
}
|
|
519
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
520
|
+
readonly internal: false;
|
|
521
|
+
readonly minVersion: 1;
|
|
522
|
+
readonly secret: false;
|
|
523
|
+
readonly stateful: true;
|
|
524
|
+
readonly supportsEndpoints: true;
|
|
525
|
+
readonly autoCreate: true;
|
|
526
|
+
}, ("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"]> ? {
|
|
527
|
+
readonly internal: false;
|
|
528
|
+
readonly minVersion: 1;
|
|
529
|
+
readonly secret: false;
|
|
530
|
+
readonly stateful: true;
|
|
531
|
+
readonly supportsEndpoints: true;
|
|
532
|
+
readonly autoCreate: true;
|
|
533
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
534
|
+
readonly internal: false;
|
|
535
|
+
readonly minVersion: 1;
|
|
536
|
+
readonly secret: false;
|
|
537
|
+
readonly stateful: true;
|
|
538
|
+
readonly supportsEndpoints: true;
|
|
539
|
+
readonly autoCreate: true;
|
|
540
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
541
|
+
readonly internal: false;
|
|
542
|
+
readonly minVersion: 1;
|
|
543
|
+
readonly secret: false;
|
|
544
|
+
readonly stateful: true;
|
|
545
|
+
readonly supportsEndpoints: true;
|
|
546
|
+
readonly autoCreate: true;
|
|
547
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
548
|
+
readonly internal: false;
|
|
549
|
+
readonly minVersion: 1;
|
|
550
|
+
readonly secret: false;
|
|
551
|
+
readonly stateful: true;
|
|
552
|
+
readonly supportsEndpoints: true;
|
|
553
|
+
readonly autoCreate: true;
|
|
554
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
239
555
|
};
|
|
240
556
|
currentValue: {
|
|
241
|
-
readonly id:
|
|
242
|
-
commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
243
|
-
property: "currentValue";
|
|
244
|
-
};
|
|
557
|
+
readonly id: ValueIDBase;
|
|
245
558
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
246
559
|
readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
|
|
247
560
|
readonly endpoint: number;
|
|
248
561
|
readonly property: "currentValue";
|
|
249
562
|
};
|
|
250
563
|
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
251
|
-
readonly meta: {
|
|
252
|
-
readonly
|
|
253
|
-
readonly writeable: false;
|
|
254
|
-
readonly max: 99;
|
|
255
|
-
readonly min: 0;
|
|
256
|
-
readonly type: "number";
|
|
564
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
565
|
+
readonly type: "any";
|
|
257
566
|
readonly readable: true;
|
|
258
|
-
|
|
259
|
-
|
|
567
|
+
readonly writeable: true;
|
|
568
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
569
|
+
readonly type: "any";
|
|
570
|
+
readonly readable: true;
|
|
571
|
+
readonly writeable: true;
|
|
572
|
+
}>, ("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<{
|
|
573
|
+
readonly type: "any";
|
|
574
|
+
readonly readable: true;
|
|
575
|
+
readonly writeable: true;
|
|
576
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
577
|
+
readonly type: "any";
|
|
578
|
+
readonly readable: true;
|
|
579
|
+
readonly writeable: true;
|
|
580
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
581
|
+
readonly type: "any";
|
|
582
|
+
readonly readable: true;
|
|
583
|
+
readonly writeable: true;
|
|
584
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
585
|
+
readonly type: "any";
|
|
586
|
+
readonly readable: true;
|
|
587
|
+
readonly writeable: true;
|
|
588
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
589
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
260
590
|
readonly internal: false;
|
|
261
591
|
readonly minVersion: 1;
|
|
262
592
|
readonly secret: false;
|
|
263
593
|
readonly stateful: true;
|
|
264
594
|
readonly supportsEndpoints: true;
|
|
265
595
|
readonly autoCreate: true;
|
|
266
|
-
}
|
|
596
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
597
|
+
readonly internal: false;
|
|
598
|
+
readonly minVersion: 1;
|
|
599
|
+
readonly secret: false;
|
|
600
|
+
readonly stateful: true;
|
|
601
|
+
readonly supportsEndpoints: true;
|
|
602
|
+
readonly autoCreate: true;
|
|
603
|
+
}, ("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"]> ? {
|
|
604
|
+
readonly internal: false;
|
|
605
|
+
readonly minVersion: 1;
|
|
606
|
+
readonly secret: false;
|
|
607
|
+
readonly stateful: true;
|
|
608
|
+
readonly supportsEndpoints: true;
|
|
609
|
+
readonly autoCreate: true;
|
|
610
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
611
|
+
readonly internal: false;
|
|
612
|
+
readonly minVersion: 1;
|
|
613
|
+
readonly secret: false;
|
|
614
|
+
readonly stateful: true;
|
|
615
|
+
readonly supportsEndpoints: true;
|
|
616
|
+
readonly autoCreate: true;
|
|
617
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
618
|
+
readonly internal: false;
|
|
619
|
+
readonly minVersion: 1;
|
|
620
|
+
readonly secret: false;
|
|
621
|
+
readonly stateful: true;
|
|
622
|
+
readonly supportsEndpoints: true;
|
|
623
|
+
readonly autoCreate: true;
|
|
624
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
625
|
+
readonly internal: false;
|
|
626
|
+
readonly minVersion: 1;
|
|
627
|
+
readonly secret: false;
|
|
628
|
+
readonly stateful: true;
|
|
629
|
+
readonly supportsEndpoints: true;
|
|
630
|
+
readonly autoCreate: true;
|
|
631
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
267
632
|
};
|
|
268
633
|
}>;
|
|
269
634
|
export declare class MultilevelSwitchCCAPI extends CCAPI {
|
|
@@ -299,7 +664,7 @@ export declare class MultilevelSwitchCCSet extends MultilevelSwitchCC {
|
|
|
299
664
|
static from(raw: CCRaw, ctx: CCParsingContext): MultilevelSwitchCCSet;
|
|
300
665
|
targetValue: number;
|
|
301
666
|
duration: Duration | undefined;
|
|
302
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
667
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
303
668
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
304
669
|
}
|
|
305
670
|
export interface MultilevelSwitchCCReportOptions {
|
|
@@ -313,7 +678,7 @@ export declare class MultilevelSwitchCCReport extends MultilevelSwitchCC {
|
|
|
313
678
|
targetValue: MaybeUnknown<number> | undefined;
|
|
314
679
|
duration: Duration | undefined;
|
|
315
680
|
currentValue: MaybeUnknown<number> | undefined;
|
|
316
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
681
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
317
682
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
318
683
|
}
|
|
319
684
|
export declare class MultilevelSwitchCCGet extends MultilevelSwitchCC {
|
|
@@ -336,7 +701,7 @@ export declare class MultilevelSwitchCCStartLevelChange extends MultilevelSwitch
|
|
|
336
701
|
startLevel: number;
|
|
337
702
|
ignoreStartLevel: boolean;
|
|
338
703
|
direction: keyof typeof LevelChangeDirection;
|
|
339
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
704
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
340
705
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
341
706
|
}
|
|
342
707
|
export declare class MultilevelSwitchCCStopLevelChange extends MultilevelSwitchCC {
|
|
@@ -349,7 +714,7 @@ export declare class MultilevelSwitchCCSupportedReport extends MultilevelSwitchC
|
|
|
349
714
|
static from(raw: CCRaw, ctx: CCParsingContext): MultilevelSwitchCCSupportedReport;
|
|
350
715
|
readonly switchType: SwitchType;
|
|
351
716
|
persistValues(ctx: PersistValuesContext): boolean;
|
|
352
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
717
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
353
718
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
354
719
|
}
|
|
355
720
|
export declare class MultilevelSwitchCCSupportedGet extends MultilevelSwitchCC {
|