@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,27 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
|
|
2
|
+
import { CommandClasses, Duration, type GetValueDB, type MessageOrCCLogEntry, type SupervisionResult, type ValueID, ValueMetadata, type WithAddress } from "@zwave-js/core";
|
|
2
3
|
import { type MaybeNotKnown } from "@zwave-js/core/safe";
|
|
3
|
-
import type { CCEncodingContext, CCParsingContext, GetValueDB } from "@zwave-js/host/safe";
|
|
4
4
|
import { Bytes } from "@zwave-js/shared/safe";
|
|
5
5
|
import { CCAPI, POLL_VALUE, type PollValueImplementation, SET_VALUE, type SetValueImplementation } from "../lib/API.js";
|
|
6
6
|
import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
|
|
7
7
|
import { ColorComponent, ColorSwitchCommand, type ColorTable, LevelChangeDirection } from "../lib/_Types.js";
|
|
8
8
|
export declare const ColorSwitchCCValues: Readonly<{
|
|
9
9
|
targetColorChannel: ((component: ColorComponent) => {
|
|
10
|
-
readonly meta: {
|
|
11
|
-
readonly
|
|
12
|
-
readonly description: `The target value of the ${string} channel.`;
|
|
13
|
-
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
14
|
-
readonly min: 0;
|
|
15
|
-
readonly max: 255;
|
|
16
|
-
readonly type: "number";
|
|
10
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
11
|
+
readonly type: "any";
|
|
17
12
|
readonly readable: true;
|
|
18
13
|
readonly writeable: true;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
15
|
+
readonly type: "any";
|
|
16
|
+
readonly readable: true;
|
|
17
|
+
readonly writeable: true;
|
|
18
|
+
}>, ("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<{
|
|
19
|
+
readonly type: "any";
|
|
20
|
+
readonly readable: true;
|
|
21
|
+
readonly writeable: true;
|
|
22
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
23
|
+
readonly type: "any";
|
|
24
|
+
readonly readable: true;
|
|
25
|
+
readonly writeable: true;
|
|
26
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
27
|
+
readonly type: "any";
|
|
28
|
+
readonly readable: true;
|
|
29
|
+
readonly writeable: true;
|
|
30
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
31
|
+
readonly type: "any";
|
|
32
|
+
readonly readable: true;
|
|
33
|
+
readonly writeable: true;
|
|
34
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
35
|
+
readonly id: ValueIDBase;
|
|
25
36
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
26
37
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
27
38
|
readonly endpoint: number;
|
|
@@ -40,20 +51,32 @@ export declare const ColorSwitchCCValues: Readonly<{
|
|
|
40
51
|
};
|
|
41
52
|
};
|
|
42
53
|
currentColorChannel: ((component: ColorComponent) => {
|
|
43
|
-
readonly meta: {
|
|
44
|
-
readonly
|
|
45
|
-
readonly description: `The current value of the ${string} channel.`;
|
|
46
|
-
readonly writeable: false;
|
|
47
|
-
readonly min: 0;
|
|
48
|
-
readonly max: 255;
|
|
49
|
-
readonly type: "number";
|
|
54
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
55
|
+
readonly type: "any";
|
|
50
56
|
readonly readable: true;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
+
readonly writeable: true;
|
|
58
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
59
|
+
readonly type: "any";
|
|
60
|
+
readonly readable: true;
|
|
61
|
+
readonly writeable: true;
|
|
62
|
+
}>, ("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<{
|
|
63
|
+
readonly type: "any";
|
|
64
|
+
readonly readable: true;
|
|
65
|
+
readonly writeable: true;
|
|
66
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
67
|
+
readonly type: "any";
|
|
68
|
+
readonly readable: true;
|
|
69
|
+
readonly writeable: true;
|
|
70
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
71
|
+
readonly type: "any";
|
|
72
|
+
readonly readable: true;
|
|
73
|
+
readonly writeable: true;
|
|
74
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
75
|
+
readonly type: "any";
|
|
76
|
+
readonly readable: true;
|
|
77
|
+
readonly writeable: true;
|
|
78
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
79
|
+
readonly id: ValueIDBase;
|
|
57
80
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
58
81
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
59
82
|
readonly endpoint: number;
|
|
@@ -72,162 +95,466 @@ export declare const ColorSwitchCCValues: Readonly<{
|
|
|
72
95
|
};
|
|
73
96
|
};
|
|
74
97
|
hexColor: {
|
|
75
|
-
readonly id:
|
|
76
|
-
commandClass: (typeof CommandClasses)["Color Switch"];
|
|
77
|
-
property: "hexColor";
|
|
78
|
-
};
|
|
98
|
+
readonly id: ValueIDBase;
|
|
79
99
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
80
100
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
81
101
|
readonly endpoint: number;
|
|
82
102
|
readonly property: "hexColor";
|
|
83
103
|
};
|
|
84
104
|
readonly is: (valueId: ValueID) => boolean;
|
|
85
|
-
readonly meta: {
|
|
86
|
-
readonly
|
|
87
|
-
readonly maxLength: 7;
|
|
88
|
-
readonly label: "RGB Color";
|
|
89
|
-
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
90
|
-
readonly type: "color";
|
|
105
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
106
|
+
readonly type: "any";
|
|
91
107
|
readonly readable: true;
|
|
92
108
|
readonly writeable: true;
|
|
93
|
-
}
|
|
94
|
-
|
|
109
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
110
|
+
readonly type: "any";
|
|
111
|
+
readonly readable: true;
|
|
112
|
+
readonly writeable: true;
|
|
113
|
+
}>, ("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<{
|
|
114
|
+
readonly type: "any";
|
|
115
|
+
readonly readable: true;
|
|
116
|
+
readonly writeable: true;
|
|
117
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
118
|
+
readonly type: "any";
|
|
119
|
+
readonly readable: true;
|
|
120
|
+
readonly writeable: true;
|
|
121
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
122
|
+
readonly type: "any";
|
|
123
|
+
readonly readable: true;
|
|
124
|
+
readonly writeable: true;
|
|
125
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
126
|
+
readonly type: "any";
|
|
127
|
+
readonly readable: true;
|
|
128
|
+
readonly writeable: true;
|
|
129
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
130
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
95
131
|
readonly internal: false;
|
|
96
132
|
readonly minVersion: 1;
|
|
97
133
|
readonly secret: false;
|
|
98
134
|
readonly stateful: true;
|
|
99
135
|
readonly supportsEndpoints: true;
|
|
100
136
|
readonly autoCreate: true;
|
|
101
|
-
}
|
|
137
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
138
|
+
readonly internal: false;
|
|
139
|
+
readonly minVersion: 1;
|
|
140
|
+
readonly secret: false;
|
|
141
|
+
readonly stateful: true;
|
|
142
|
+
readonly supportsEndpoints: true;
|
|
143
|
+
readonly autoCreate: true;
|
|
144
|
+
}, ("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"]> ? {
|
|
145
|
+
readonly internal: false;
|
|
146
|
+
readonly minVersion: 1;
|
|
147
|
+
readonly secret: false;
|
|
148
|
+
readonly stateful: true;
|
|
149
|
+
readonly supportsEndpoints: true;
|
|
150
|
+
readonly autoCreate: true;
|
|
151
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
152
|
+
readonly internal: false;
|
|
153
|
+
readonly minVersion: 1;
|
|
154
|
+
readonly secret: false;
|
|
155
|
+
readonly stateful: true;
|
|
156
|
+
readonly supportsEndpoints: true;
|
|
157
|
+
readonly autoCreate: true;
|
|
158
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
159
|
+
readonly internal: false;
|
|
160
|
+
readonly minVersion: 1;
|
|
161
|
+
readonly secret: false;
|
|
162
|
+
readonly stateful: true;
|
|
163
|
+
readonly supportsEndpoints: true;
|
|
164
|
+
readonly autoCreate: true;
|
|
165
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
166
|
+
readonly internal: false;
|
|
167
|
+
readonly minVersion: 1;
|
|
168
|
+
readonly secret: false;
|
|
169
|
+
readonly stateful: true;
|
|
170
|
+
readonly supportsEndpoints: true;
|
|
171
|
+
readonly autoCreate: true;
|
|
172
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
102
173
|
};
|
|
103
174
|
duration: {
|
|
104
|
-
readonly id:
|
|
105
|
-
commandClass: (typeof CommandClasses)["Color Switch"];
|
|
106
|
-
property: "duration";
|
|
107
|
-
};
|
|
175
|
+
readonly id: ValueIDBase;
|
|
108
176
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
109
177
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
110
178
|
readonly endpoint: number;
|
|
111
179
|
readonly property: "duration";
|
|
112
180
|
};
|
|
113
181
|
readonly is: (valueId: ValueID) => boolean;
|
|
114
|
-
readonly meta: {
|
|
115
|
-
readonly
|
|
116
|
-
readonly writeable: false;
|
|
117
|
-
readonly type: "duration";
|
|
182
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
183
|
+
readonly type: "any";
|
|
118
184
|
readonly readable: true;
|
|
119
|
-
|
|
120
|
-
|
|
185
|
+
readonly writeable: true;
|
|
186
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
187
|
+
readonly type: "any";
|
|
188
|
+
readonly readable: true;
|
|
189
|
+
readonly writeable: true;
|
|
190
|
+
}>, ("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<{
|
|
191
|
+
readonly type: "any";
|
|
192
|
+
readonly readable: true;
|
|
193
|
+
readonly writeable: true;
|
|
194
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
195
|
+
readonly type: "any";
|
|
196
|
+
readonly readable: true;
|
|
197
|
+
readonly writeable: true;
|
|
198
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
199
|
+
readonly type: "any";
|
|
200
|
+
readonly readable: true;
|
|
201
|
+
readonly writeable: true;
|
|
202
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
203
|
+
readonly type: "any";
|
|
204
|
+
readonly readable: true;
|
|
205
|
+
readonly writeable: true;
|
|
206
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
207
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
121
208
|
readonly internal: false;
|
|
122
209
|
readonly minVersion: 1;
|
|
123
210
|
readonly secret: false;
|
|
124
211
|
readonly stateful: true;
|
|
125
212
|
readonly supportsEndpoints: true;
|
|
126
213
|
readonly autoCreate: true;
|
|
127
|
-
}
|
|
214
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
215
|
+
readonly internal: false;
|
|
216
|
+
readonly minVersion: 1;
|
|
217
|
+
readonly secret: false;
|
|
218
|
+
readonly stateful: true;
|
|
219
|
+
readonly supportsEndpoints: true;
|
|
220
|
+
readonly autoCreate: true;
|
|
221
|
+
}, ("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"]> ? {
|
|
222
|
+
readonly internal: false;
|
|
223
|
+
readonly minVersion: 1;
|
|
224
|
+
readonly secret: false;
|
|
225
|
+
readonly stateful: true;
|
|
226
|
+
readonly supportsEndpoints: true;
|
|
227
|
+
readonly autoCreate: true;
|
|
228
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
229
|
+
readonly internal: false;
|
|
230
|
+
readonly minVersion: 1;
|
|
231
|
+
readonly secret: false;
|
|
232
|
+
readonly stateful: true;
|
|
233
|
+
readonly supportsEndpoints: true;
|
|
234
|
+
readonly autoCreate: true;
|
|
235
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
236
|
+
readonly internal: false;
|
|
237
|
+
readonly minVersion: 1;
|
|
238
|
+
readonly secret: false;
|
|
239
|
+
readonly stateful: true;
|
|
240
|
+
readonly supportsEndpoints: true;
|
|
241
|
+
readonly autoCreate: true;
|
|
242
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
243
|
+
readonly internal: false;
|
|
244
|
+
readonly minVersion: 1;
|
|
245
|
+
readonly secret: false;
|
|
246
|
+
readonly stateful: true;
|
|
247
|
+
readonly supportsEndpoints: true;
|
|
248
|
+
readonly autoCreate: true;
|
|
249
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
128
250
|
};
|
|
129
251
|
targetColor: {
|
|
130
|
-
readonly id:
|
|
131
|
-
commandClass: (typeof CommandClasses)["Color Switch"];
|
|
132
|
-
property: "targetColor";
|
|
133
|
-
};
|
|
252
|
+
readonly id: ValueIDBase;
|
|
134
253
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
135
254
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
136
255
|
readonly endpoint: number;
|
|
137
256
|
readonly property: "targetColor";
|
|
138
257
|
};
|
|
139
258
|
readonly is: (valueId: ValueID) => boolean;
|
|
140
|
-
readonly meta: {
|
|
141
|
-
readonly label: "Target color";
|
|
142
|
-
readonly valueChangeOptions: readonly ["transitionDuration"];
|
|
259
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
143
260
|
readonly type: "any";
|
|
144
261
|
readonly readable: true;
|
|
145
262
|
readonly writeable: true;
|
|
146
|
-
}
|
|
147
|
-
|
|
263
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
264
|
+
readonly type: "any";
|
|
265
|
+
readonly readable: true;
|
|
266
|
+
readonly writeable: true;
|
|
267
|
+
}>, ("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<{
|
|
268
|
+
readonly type: "any";
|
|
269
|
+
readonly readable: true;
|
|
270
|
+
readonly writeable: true;
|
|
271
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
272
|
+
readonly type: "any";
|
|
273
|
+
readonly readable: true;
|
|
274
|
+
readonly writeable: true;
|
|
275
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
276
|
+
readonly type: "any";
|
|
277
|
+
readonly readable: true;
|
|
278
|
+
readonly writeable: true;
|
|
279
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
280
|
+
readonly type: "any";
|
|
281
|
+
readonly readable: true;
|
|
282
|
+
readonly writeable: true;
|
|
283
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
284
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
148
285
|
readonly internal: false;
|
|
149
286
|
readonly minVersion: 1;
|
|
150
287
|
readonly secret: false;
|
|
151
288
|
readonly stateful: true;
|
|
152
289
|
readonly supportsEndpoints: true;
|
|
153
290
|
readonly autoCreate: true;
|
|
154
|
-
}
|
|
291
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
292
|
+
readonly internal: false;
|
|
293
|
+
readonly minVersion: 1;
|
|
294
|
+
readonly secret: false;
|
|
295
|
+
readonly stateful: true;
|
|
296
|
+
readonly supportsEndpoints: true;
|
|
297
|
+
readonly autoCreate: true;
|
|
298
|
+
}, ("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"]> ? {
|
|
299
|
+
readonly internal: false;
|
|
300
|
+
readonly minVersion: 1;
|
|
301
|
+
readonly secret: false;
|
|
302
|
+
readonly stateful: true;
|
|
303
|
+
readonly supportsEndpoints: true;
|
|
304
|
+
readonly autoCreate: true;
|
|
305
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
306
|
+
readonly internal: false;
|
|
307
|
+
readonly minVersion: 1;
|
|
308
|
+
readonly secret: false;
|
|
309
|
+
readonly stateful: true;
|
|
310
|
+
readonly supportsEndpoints: true;
|
|
311
|
+
readonly autoCreate: true;
|
|
312
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
313
|
+
readonly internal: false;
|
|
314
|
+
readonly minVersion: 1;
|
|
315
|
+
readonly secret: false;
|
|
316
|
+
readonly stateful: true;
|
|
317
|
+
readonly supportsEndpoints: true;
|
|
318
|
+
readonly autoCreate: true;
|
|
319
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
320
|
+
readonly internal: false;
|
|
321
|
+
readonly minVersion: 1;
|
|
322
|
+
readonly secret: false;
|
|
323
|
+
readonly stateful: true;
|
|
324
|
+
readonly supportsEndpoints: true;
|
|
325
|
+
readonly autoCreate: true;
|
|
326
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
155
327
|
};
|
|
156
328
|
currentColor: {
|
|
157
|
-
readonly id:
|
|
158
|
-
commandClass: (typeof CommandClasses)["Color Switch"];
|
|
159
|
-
property: "currentColor";
|
|
160
|
-
};
|
|
329
|
+
readonly id: ValueIDBase;
|
|
161
330
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
162
331
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
163
332
|
readonly endpoint: number;
|
|
164
333
|
readonly property: "currentColor";
|
|
165
334
|
};
|
|
166
335
|
readonly is: (valueId: ValueID) => boolean;
|
|
167
|
-
readonly meta: {
|
|
168
|
-
readonly label: "Current color";
|
|
169
|
-
readonly writeable: false;
|
|
336
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
170
337
|
readonly type: "any";
|
|
171
338
|
readonly readable: true;
|
|
172
|
-
|
|
173
|
-
|
|
339
|
+
readonly writeable: true;
|
|
340
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
341
|
+
readonly type: "any";
|
|
342
|
+
readonly readable: true;
|
|
343
|
+
readonly writeable: true;
|
|
344
|
+
}>, ("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<{
|
|
345
|
+
readonly type: "any";
|
|
346
|
+
readonly readable: true;
|
|
347
|
+
readonly writeable: true;
|
|
348
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
349
|
+
readonly type: "any";
|
|
350
|
+
readonly readable: true;
|
|
351
|
+
readonly writeable: true;
|
|
352
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
353
|
+
readonly type: "any";
|
|
354
|
+
readonly readable: true;
|
|
355
|
+
readonly writeable: true;
|
|
356
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
357
|
+
readonly type: "any";
|
|
358
|
+
readonly readable: true;
|
|
359
|
+
readonly writeable: true;
|
|
360
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
361
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
174
362
|
readonly internal: false;
|
|
175
363
|
readonly minVersion: 1;
|
|
176
364
|
readonly secret: false;
|
|
177
365
|
readonly stateful: true;
|
|
178
366
|
readonly supportsEndpoints: true;
|
|
179
367
|
readonly autoCreate: true;
|
|
180
|
-
}
|
|
368
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
369
|
+
readonly internal: false;
|
|
370
|
+
readonly minVersion: 1;
|
|
371
|
+
readonly secret: false;
|
|
372
|
+
readonly stateful: true;
|
|
373
|
+
readonly supportsEndpoints: true;
|
|
374
|
+
readonly autoCreate: true;
|
|
375
|
+
}, ("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"]> ? {
|
|
376
|
+
readonly internal: false;
|
|
377
|
+
readonly minVersion: 1;
|
|
378
|
+
readonly secret: false;
|
|
379
|
+
readonly stateful: true;
|
|
380
|
+
readonly supportsEndpoints: true;
|
|
381
|
+
readonly autoCreate: true;
|
|
382
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
383
|
+
readonly internal: false;
|
|
384
|
+
readonly minVersion: 1;
|
|
385
|
+
readonly secret: false;
|
|
386
|
+
readonly stateful: true;
|
|
387
|
+
readonly supportsEndpoints: true;
|
|
388
|
+
readonly autoCreate: true;
|
|
389
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
390
|
+
readonly internal: false;
|
|
391
|
+
readonly minVersion: 1;
|
|
392
|
+
readonly secret: false;
|
|
393
|
+
readonly stateful: true;
|
|
394
|
+
readonly supportsEndpoints: true;
|
|
395
|
+
readonly autoCreate: true;
|
|
396
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
397
|
+
readonly internal: false;
|
|
398
|
+
readonly minVersion: 1;
|
|
399
|
+
readonly secret: false;
|
|
400
|
+
readonly stateful: true;
|
|
401
|
+
readonly supportsEndpoints: true;
|
|
402
|
+
readonly autoCreate: true;
|
|
403
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
181
404
|
};
|
|
182
405
|
supportsHexColor: {
|
|
183
|
-
readonly id:
|
|
184
|
-
commandClass: (typeof CommandClasses)["Color Switch"];
|
|
185
|
-
property: "supportsHexColor";
|
|
186
|
-
};
|
|
406
|
+
readonly id: ValueIDBase;
|
|
187
407
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
188
408
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
189
409
|
readonly endpoint: number;
|
|
190
410
|
readonly property: "supportsHexColor";
|
|
191
411
|
};
|
|
192
412
|
readonly is: (valueId: ValueID) => boolean;
|
|
193
|
-
readonly meta: {
|
|
413
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
194
414
|
readonly type: "any";
|
|
195
415
|
readonly readable: true;
|
|
196
416
|
readonly writeable: true;
|
|
197
|
-
}
|
|
198
|
-
|
|
417
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
418
|
+
readonly type: "any";
|
|
419
|
+
readonly readable: true;
|
|
420
|
+
readonly writeable: true;
|
|
421
|
+
}>, ("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<{
|
|
422
|
+
readonly type: "any";
|
|
423
|
+
readonly readable: true;
|
|
424
|
+
readonly writeable: true;
|
|
425
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
426
|
+
readonly type: "any";
|
|
427
|
+
readonly readable: true;
|
|
428
|
+
readonly writeable: true;
|
|
429
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
430
|
+
readonly type: "any";
|
|
431
|
+
readonly readable: true;
|
|
432
|
+
readonly writeable: true;
|
|
433
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
434
|
+
readonly type: "any";
|
|
435
|
+
readonly readable: true;
|
|
436
|
+
readonly writeable: true;
|
|
437
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
438
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
439
|
+
readonly internal: false;
|
|
440
|
+
readonly minVersion: 1;
|
|
441
|
+
readonly secret: false;
|
|
199
442
|
readonly stateful: true;
|
|
443
|
+
readonly supportsEndpoints: true;
|
|
444
|
+
readonly autoCreate: true;
|
|
445
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
446
|
+
readonly internal: false;
|
|
447
|
+
readonly minVersion: 1;
|
|
200
448
|
readonly secret: false;
|
|
449
|
+
readonly stateful: true;
|
|
450
|
+
readonly supportsEndpoints: true;
|
|
451
|
+
readonly autoCreate: true;
|
|
452
|
+
}, ("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"]> ? {
|
|
453
|
+
readonly internal: false;
|
|
201
454
|
readonly minVersion: 1;
|
|
455
|
+
readonly secret: false;
|
|
456
|
+
readonly stateful: true;
|
|
202
457
|
readonly supportsEndpoints: true;
|
|
203
458
|
readonly autoCreate: true;
|
|
204
|
-
|
|
205
|
-
|
|
459
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
460
|
+
readonly internal: false;
|
|
461
|
+
readonly minVersion: 1;
|
|
462
|
+
readonly secret: false;
|
|
463
|
+
readonly stateful: true;
|
|
464
|
+
readonly supportsEndpoints: true;
|
|
465
|
+
readonly autoCreate: true;
|
|
466
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
467
|
+
readonly internal: false;
|
|
468
|
+
readonly minVersion: 1;
|
|
469
|
+
readonly secret: false;
|
|
470
|
+
readonly stateful: true;
|
|
471
|
+
readonly supportsEndpoints: true;
|
|
472
|
+
readonly autoCreate: true;
|
|
473
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
474
|
+
readonly internal: false;
|
|
475
|
+
readonly minVersion: 1;
|
|
476
|
+
readonly secret: false;
|
|
477
|
+
readonly stateful: true;
|
|
478
|
+
readonly supportsEndpoints: true;
|
|
479
|
+
readonly autoCreate: true;
|
|
480
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
206
481
|
};
|
|
207
482
|
supportedColorComponents: {
|
|
208
|
-
readonly id:
|
|
209
|
-
commandClass: (typeof CommandClasses)["Color Switch"];
|
|
210
|
-
property: "supportedColorComponents";
|
|
211
|
-
};
|
|
483
|
+
readonly id: ValueIDBase;
|
|
212
484
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
213
485
|
readonly commandClass: (typeof CommandClasses)["Color Switch"];
|
|
214
486
|
readonly endpoint: number;
|
|
215
487
|
readonly property: "supportedColorComponents";
|
|
216
488
|
};
|
|
217
489
|
readonly is: (valueId: ValueID) => boolean;
|
|
218
|
-
readonly meta: {
|
|
490
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
219
491
|
readonly type: "any";
|
|
220
492
|
readonly readable: true;
|
|
221
493
|
readonly writeable: true;
|
|
222
|
-
}
|
|
223
|
-
|
|
494
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
495
|
+
readonly type: "any";
|
|
496
|
+
readonly readable: true;
|
|
497
|
+
readonly writeable: true;
|
|
498
|
+
}>, ("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<{
|
|
499
|
+
readonly type: "any";
|
|
500
|
+
readonly readable: true;
|
|
501
|
+
readonly writeable: true;
|
|
502
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
503
|
+
readonly type: "any";
|
|
504
|
+
readonly readable: true;
|
|
505
|
+
readonly writeable: true;
|
|
506
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
507
|
+
readonly type: "any";
|
|
508
|
+
readonly readable: true;
|
|
509
|
+
readonly writeable: true;
|
|
510
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
511
|
+
readonly type: "any";
|
|
512
|
+
readonly readable: true;
|
|
513
|
+
readonly writeable: true;
|
|
514
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
515
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
516
|
+
readonly internal: false;
|
|
517
|
+
readonly minVersion: 1;
|
|
518
|
+
readonly secret: false;
|
|
519
|
+
readonly stateful: true;
|
|
520
|
+
readonly supportsEndpoints: true;
|
|
521
|
+
readonly autoCreate: true;
|
|
522
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
523
|
+
readonly internal: false;
|
|
524
|
+
readonly minVersion: 1;
|
|
525
|
+
readonly secret: false;
|
|
526
|
+
readonly stateful: true;
|
|
527
|
+
readonly supportsEndpoints: true;
|
|
528
|
+
readonly autoCreate: true;
|
|
529
|
+
}, ("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"]> ? {
|
|
530
|
+
readonly internal: false;
|
|
531
|
+
readonly minVersion: 1;
|
|
532
|
+
readonly secret: false;
|
|
224
533
|
readonly stateful: true;
|
|
534
|
+
readonly supportsEndpoints: true;
|
|
535
|
+
readonly autoCreate: true;
|
|
536
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
537
|
+
readonly internal: false;
|
|
538
|
+
readonly minVersion: 1;
|
|
225
539
|
readonly secret: false;
|
|
540
|
+
readonly stateful: true;
|
|
541
|
+
readonly supportsEndpoints: true;
|
|
542
|
+
readonly autoCreate: true;
|
|
543
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
544
|
+
readonly internal: false;
|
|
226
545
|
readonly minVersion: 1;
|
|
546
|
+
readonly secret: false;
|
|
547
|
+
readonly stateful: true;
|
|
227
548
|
readonly supportsEndpoints: true;
|
|
228
549
|
readonly autoCreate: true;
|
|
229
|
-
|
|
230
|
-
|
|
550
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
551
|
+
readonly internal: false;
|
|
552
|
+
readonly minVersion: 1;
|
|
553
|
+
readonly secret: false;
|
|
554
|
+
readonly stateful: true;
|
|
555
|
+
readonly supportsEndpoints: true;
|
|
556
|
+
readonly autoCreate: true;
|
|
557
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
231
558
|
};
|
|
232
559
|
}>;
|
|
233
560
|
export declare class ColorSwitchCCAPI extends CCAPI {
|
|
@@ -256,7 +583,7 @@ export declare class ColorSwitchCCSupportedReport extends ColorSwitchCC {
|
|
|
256
583
|
constructor(options: WithAddress<ColorSwitchCCSupportedReportOptions>);
|
|
257
584
|
static from(raw: CCRaw, ctx: CCParsingContext): ColorSwitchCCSupportedReport;
|
|
258
585
|
readonly supportedColorComponents: readonly ColorComponent[];
|
|
259
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
586
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
260
587
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
261
588
|
}
|
|
262
589
|
export declare class ColorSwitchCCSupportedGet extends ColorSwitchCC {
|
|
@@ -275,7 +602,7 @@ export declare class ColorSwitchCCReport extends ColorSwitchCC {
|
|
|
275
602
|
readonly currentValue: number;
|
|
276
603
|
readonly targetValue: number | undefined;
|
|
277
604
|
readonly duration: Duration | undefined;
|
|
278
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
605
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
279
606
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
280
607
|
}
|
|
281
608
|
export interface ColorSwitchCCGetOptions {
|
|
@@ -287,7 +614,7 @@ export declare class ColorSwitchCCGet extends ColorSwitchCC {
|
|
|
287
614
|
private _colorComponent;
|
|
288
615
|
get colorComponent(): ColorComponent;
|
|
289
616
|
set colorComponent(value: ColorComponent);
|
|
290
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
617
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
291
618
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
292
619
|
}
|
|
293
620
|
export type ColorSwitchCCSetOptions = (ColorTable | {
|
|
@@ -300,7 +627,7 @@ export declare class ColorSwitchCCSet extends ColorSwitchCC {
|
|
|
300
627
|
static from(raw: CCRaw, ctx: CCParsingContext): ColorSwitchCCSet;
|
|
301
628
|
colorTable: ColorTable;
|
|
302
629
|
duration: Duration | undefined;
|
|
303
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
630
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
304
631
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
305
632
|
}
|
|
306
633
|
export type ColorSwitchCCStartLevelChangeOptions = {
|
|
@@ -323,7 +650,7 @@ export declare class ColorSwitchCCStartLevelChange extends ColorSwitchCC {
|
|
|
323
650
|
ignoreStartLevel: boolean;
|
|
324
651
|
direction: keyof typeof LevelChangeDirection;
|
|
325
652
|
colorComponent: ColorComponent;
|
|
326
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
653
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
327
654
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
328
655
|
}
|
|
329
656
|
export interface ColorSwitchCCStopLevelChangeOptions {
|
|
@@ -333,7 +660,7 @@ export declare class ColorSwitchCCStopLevelChange extends ColorSwitchCC {
|
|
|
333
660
|
constructor(options: WithAddress<ColorSwitchCCStopLevelChangeOptions>);
|
|
334
661
|
static from(raw: CCRaw, ctx: CCParsingContext): ColorSwitchCCStopLevelChange;
|
|
335
662
|
readonly colorComponent: ColorComponent;
|
|
336
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
663
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
337
664
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
338
665
|
}
|
|
339
666
|
//# sourceMappingURL=ColorSwitchCC.d.ts.map
|