@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,7 +1,8 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
|
|
2
|
+
import { type GetDeviceConfig } from "@zwave-js/config";
|
|
3
|
+
import { type GetNode, type GetSupportedCCVersion, type GetValueDB, type WithAddress } from "@zwave-js/core";
|
|
2
4
|
import type { ControlsCC, EndpointId, GetEndpoint, MessageOrCCLogEntry, NodeId, SinglecastCC, SupportsCC } from "@zwave-js/core/safe";
|
|
3
|
-
import { CommandClasses, type MaybeNotKnown } from "@zwave-js/core/safe";
|
|
4
|
-
import type { CCEncodingContext, CCParsingContext, GetDeviceConfig, GetNode, GetSupportedCCVersion, GetValueDB } from "@zwave-js/host/safe";
|
|
5
|
+
import { CommandClasses, type MaybeNotKnown, ValueMetadata } from "@zwave-js/core/safe";
|
|
5
6
|
import { Bytes } from "@zwave-js/shared/safe";
|
|
6
7
|
import { type AllOrNone } from "@zwave-js/shared/safe";
|
|
7
8
|
import { POLL_VALUE, PhysicalCCAPI, type PollValueImplementation } from "../lib/API.js";
|
|
@@ -9,334 +10,928 @@ import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesCont
|
|
|
9
10
|
import { BatteryChargingStatus, BatteryCommand, BatteryReplacementStatus } from "../lib/_Types.js";
|
|
10
11
|
export declare const BatteryCCValues: Readonly<{
|
|
11
12
|
lowTemperatureStatus: {
|
|
12
|
-
readonly id:
|
|
13
|
-
commandClass: CommandClasses.Battery;
|
|
14
|
-
property: "lowTemperatureStatus";
|
|
15
|
-
};
|
|
13
|
+
readonly id: ValueIDBase;
|
|
16
14
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
17
15
|
readonly commandClass: CommandClasses.Battery;
|
|
18
16
|
readonly endpoint: number;
|
|
19
17
|
readonly property: "lowTemperatureStatus";
|
|
20
18
|
};
|
|
21
19
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
22
|
-
readonly meta: {
|
|
23
|
-
readonly
|
|
24
|
-
readonly writeable: false;
|
|
25
|
-
readonly type: "boolean";
|
|
20
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
21
|
+
readonly type: "any";
|
|
26
22
|
readonly readable: true;
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
readonly writeable: true;
|
|
24
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
25
|
+
readonly type: "any";
|
|
26
|
+
readonly readable: true;
|
|
27
|
+
readonly writeable: true;
|
|
28
|
+
}>, ("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<{
|
|
29
|
+
readonly type: "any";
|
|
30
|
+
readonly readable: true;
|
|
31
|
+
readonly writeable: true;
|
|
32
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
33
|
+
readonly type: "any";
|
|
34
|
+
readonly readable: true;
|
|
35
|
+
readonly writeable: true;
|
|
36
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
37
|
+
readonly type: "any";
|
|
38
|
+
readonly readable: true;
|
|
39
|
+
readonly writeable: true;
|
|
40
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
41
|
+
readonly type: "any";
|
|
42
|
+
readonly readable: true;
|
|
43
|
+
readonly writeable: true;
|
|
44
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
45
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
46
|
+
readonly internal: false;
|
|
47
|
+
readonly minVersion: 1;
|
|
48
|
+
readonly secret: false;
|
|
49
|
+
readonly stateful: true;
|
|
50
|
+
readonly supportsEndpoints: true;
|
|
51
|
+
readonly autoCreate: true;
|
|
52
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
53
|
+
readonly internal: false;
|
|
54
|
+
readonly minVersion: 1;
|
|
55
|
+
readonly secret: false;
|
|
29
56
|
readonly stateful: true;
|
|
57
|
+
readonly supportsEndpoints: true;
|
|
58
|
+
readonly autoCreate: true;
|
|
59
|
+
}, ("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"]> ? {
|
|
60
|
+
readonly internal: false;
|
|
61
|
+
readonly minVersion: 1;
|
|
30
62
|
readonly secret: false;
|
|
63
|
+
readonly stateful: true;
|
|
64
|
+
readonly supportsEndpoints: true;
|
|
65
|
+
readonly autoCreate: true;
|
|
66
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
31
67
|
readonly internal: false;
|
|
68
|
+
readonly minVersion: 1;
|
|
69
|
+
readonly secret: false;
|
|
70
|
+
readonly stateful: true;
|
|
32
71
|
readonly supportsEndpoints: true;
|
|
33
72
|
readonly autoCreate: true;
|
|
34
|
-
|
|
35
|
-
|
|
73
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
74
|
+
readonly internal: false;
|
|
75
|
+
readonly minVersion: 1;
|
|
76
|
+
readonly secret: false;
|
|
77
|
+
readonly stateful: true;
|
|
78
|
+
readonly supportsEndpoints: true;
|
|
79
|
+
readonly autoCreate: true;
|
|
80
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
81
|
+
readonly internal: false;
|
|
82
|
+
readonly minVersion: 1;
|
|
83
|
+
readonly secret: false;
|
|
84
|
+
readonly stateful: true;
|
|
85
|
+
readonly supportsEndpoints: true;
|
|
86
|
+
readonly autoCreate: true;
|
|
87
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
36
88
|
};
|
|
37
89
|
disconnected: {
|
|
38
|
-
readonly id:
|
|
39
|
-
commandClass: CommandClasses.Battery;
|
|
40
|
-
property: "disconnected";
|
|
41
|
-
};
|
|
90
|
+
readonly id: ValueIDBase;
|
|
42
91
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
43
92
|
readonly commandClass: CommandClasses.Battery;
|
|
44
93
|
readonly endpoint: number;
|
|
45
94
|
readonly property: "disconnected";
|
|
46
95
|
};
|
|
47
96
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
48
|
-
readonly meta: {
|
|
49
|
-
readonly
|
|
50
|
-
readonly writeable: false;
|
|
51
|
-
readonly type: "boolean";
|
|
97
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
98
|
+
readonly type: "any";
|
|
52
99
|
readonly readable: true;
|
|
53
|
-
|
|
54
|
-
|
|
100
|
+
readonly writeable: true;
|
|
101
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
102
|
+
readonly type: "any";
|
|
103
|
+
readonly readable: true;
|
|
104
|
+
readonly writeable: true;
|
|
105
|
+
}>, ("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<{
|
|
106
|
+
readonly type: "any";
|
|
107
|
+
readonly readable: true;
|
|
108
|
+
readonly writeable: true;
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
122
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
123
|
+
readonly internal: false;
|
|
124
|
+
readonly minVersion: 1;
|
|
125
|
+
readonly secret: false;
|
|
55
126
|
readonly stateful: true;
|
|
127
|
+
readonly supportsEndpoints: true;
|
|
128
|
+
readonly autoCreate: true;
|
|
129
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
130
|
+
readonly internal: false;
|
|
131
|
+
readonly minVersion: 1;
|
|
56
132
|
readonly secret: false;
|
|
133
|
+
readonly stateful: true;
|
|
134
|
+
readonly supportsEndpoints: true;
|
|
135
|
+
readonly autoCreate: true;
|
|
136
|
+
}, ("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"]> ? {
|
|
57
137
|
readonly internal: false;
|
|
138
|
+
readonly minVersion: 1;
|
|
139
|
+
readonly secret: false;
|
|
140
|
+
readonly stateful: true;
|
|
58
141
|
readonly supportsEndpoints: true;
|
|
59
142
|
readonly autoCreate: true;
|
|
60
|
-
|
|
61
|
-
|
|
143
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
144
|
+
readonly internal: false;
|
|
145
|
+
readonly minVersion: 1;
|
|
146
|
+
readonly secret: false;
|
|
147
|
+
readonly stateful: true;
|
|
148
|
+
readonly supportsEndpoints: true;
|
|
149
|
+
readonly autoCreate: true;
|
|
150
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
151
|
+
readonly internal: false;
|
|
152
|
+
readonly minVersion: 1;
|
|
153
|
+
readonly secret: false;
|
|
154
|
+
readonly stateful: true;
|
|
155
|
+
readonly supportsEndpoints: true;
|
|
156
|
+
readonly autoCreate: true;
|
|
157
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
158
|
+
readonly internal: false;
|
|
159
|
+
readonly minVersion: 1;
|
|
160
|
+
readonly secret: false;
|
|
161
|
+
readonly stateful: true;
|
|
162
|
+
readonly supportsEndpoints: true;
|
|
163
|
+
readonly autoCreate: true;
|
|
164
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
62
165
|
};
|
|
63
166
|
rechargeOrReplace: {
|
|
64
|
-
readonly id:
|
|
65
|
-
commandClass: CommandClasses.Battery;
|
|
66
|
-
property: "rechargeOrReplace";
|
|
67
|
-
};
|
|
167
|
+
readonly id: ValueIDBase;
|
|
68
168
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
69
169
|
readonly commandClass: CommandClasses.Battery;
|
|
70
170
|
readonly endpoint: number;
|
|
71
171
|
readonly property: "rechargeOrReplace";
|
|
72
172
|
};
|
|
73
173
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
74
|
-
readonly meta: {
|
|
75
|
-
readonly
|
|
76
|
-
readonly states: {
|
|
77
|
-
[x: number]: string;
|
|
78
|
-
};
|
|
79
|
-
readonly writeable: false;
|
|
80
|
-
readonly min: 0;
|
|
81
|
-
readonly max: 255;
|
|
82
|
-
readonly type: "number";
|
|
174
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
175
|
+
readonly type: "any";
|
|
83
176
|
readonly readable: true;
|
|
84
|
-
|
|
85
|
-
|
|
177
|
+
readonly writeable: true;
|
|
178
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
179
|
+
readonly type: "any";
|
|
180
|
+
readonly readable: true;
|
|
181
|
+
readonly writeable: true;
|
|
182
|
+
}>, ("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<{
|
|
183
|
+
readonly type: "any";
|
|
184
|
+
readonly readable: true;
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
199
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
200
|
+
readonly internal: false;
|
|
201
|
+
readonly minVersion: 1;
|
|
202
|
+
readonly secret: false;
|
|
86
203
|
readonly stateful: true;
|
|
204
|
+
readonly supportsEndpoints: true;
|
|
205
|
+
readonly autoCreate: true;
|
|
206
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
207
|
+
readonly internal: false;
|
|
208
|
+
readonly minVersion: 1;
|
|
87
209
|
readonly secret: false;
|
|
210
|
+
readonly stateful: true;
|
|
211
|
+
readonly supportsEndpoints: true;
|
|
212
|
+
readonly autoCreate: true;
|
|
213
|
+
}, ("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"]> ? {
|
|
88
214
|
readonly internal: false;
|
|
215
|
+
readonly minVersion: 1;
|
|
216
|
+
readonly secret: false;
|
|
217
|
+
readonly stateful: true;
|
|
89
218
|
readonly supportsEndpoints: true;
|
|
90
219
|
readonly autoCreate: true;
|
|
91
|
-
|
|
92
|
-
|
|
220
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
221
|
+
readonly internal: false;
|
|
222
|
+
readonly minVersion: 1;
|
|
223
|
+
readonly secret: false;
|
|
224
|
+
readonly stateful: true;
|
|
225
|
+
readonly supportsEndpoints: true;
|
|
226
|
+
readonly autoCreate: true;
|
|
227
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
228
|
+
readonly internal: false;
|
|
229
|
+
readonly minVersion: 1;
|
|
230
|
+
readonly secret: false;
|
|
231
|
+
readonly stateful: true;
|
|
232
|
+
readonly supportsEndpoints: true;
|
|
233
|
+
readonly autoCreate: true;
|
|
234
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
235
|
+
readonly internal: false;
|
|
236
|
+
readonly minVersion: 1;
|
|
237
|
+
readonly secret: false;
|
|
238
|
+
readonly stateful: true;
|
|
239
|
+
readonly supportsEndpoints: true;
|
|
240
|
+
readonly autoCreate: true;
|
|
241
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
93
242
|
};
|
|
94
243
|
lowFluid: {
|
|
95
|
-
readonly id:
|
|
96
|
-
commandClass: CommandClasses.Battery;
|
|
97
|
-
property: "lowFluid";
|
|
98
|
-
};
|
|
244
|
+
readonly id: ValueIDBase;
|
|
99
245
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
100
246
|
readonly commandClass: CommandClasses.Battery;
|
|
101
247
|
readonly endpoint: number;
|
|
102
248
|
readonly property: "lowFluid";
|
|
103
249
|
};
|
|
104
250
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
105
|
-
readonly meta: {
|
|
106
|
-
readonly
|
|
107
|
-
readonly writeable: false;
|
|
108
|
-
readonly type: "boolean";
|
|
251
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
252
|
+
readonly type: "any";
|
|
109
253
|
readonly readable: true;
|
|
110
|
-
|
|
111
|
-
|
|
254
|
+
readonly writeable: true;
|
|
255
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
256
|
+
readonly type: "any";
|
|
257
|
+
readonly readable: true;
|
|
258
|
+
readonly writeable: true;
|
|
259
|
+
}>, ("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<{
|
|
260
|
+
readonly type: "any";
|
|
261
|
+
readonly readable: true;
|
|
262
|
+
readonly writeable: true;
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
276
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
277
|
+
readonly internal: false;
|
|
278
|
+
readonly minVersion: 1;
|
|
279
|
+
readonly secret: false;
|
|
112
280
|
readonly stateful: true;
|
|
281
|
+
readonly supportsEndpoints: true;
|
|
282
|
+
readonly autoCreate: true;
|
|
283
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
284
|
+
readonly internal: false;
|
|
285
|
+
readonly minVersion: 1;
|
|
113
286
|
readonly secret: false;
|
|
287
|
+
readonly stateful: true;
|
|
288
|
+
readonly supportsEndpoints: true;
|
|
289
|
+
readonly autoCreate: true;
|
|
290
|
+
}, ("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"]> ? {
|
|
114
291
|
readonly internal: false;
|
|
292
|
+
readonly minVersion: 1;
|
|
293
|
+
readonly secret: false;
|
|
294
|
+
readonly stateful: true;
|
|
115
295
|
readonly supportsEndpoints: true;
|
|
116
296
|
readonly autoCreate: true;
|
|
117
|
-
|
|
118
|
-
|
|
297
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
298
|
+
readonly internal: false;
|
|
299
|
+
readonly minVersion: 1;
|
|
300
|
+
readonly secret: false;
|
|
301
|
+
readonly stateful: true;
|
|
302
|
+
readonly supportsEndpoints: true;
|
|
303
|
+
readonly autoCreate: true;
|
|
304
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
305
|
+
readonly internal: false;
|
|
306
|
+
readonly minVersion: 1;
|
|
307
|
+
readonly secret: false;
|
|
308
|
+
readonly stateful: true;
|
|
309
|
+
readonly supportsEndpoints: true;
|
|
310
|
+
readonly autoCreate: true;
|
|
311
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
312
|
+
readonly internal: false;
|
|
313
|
+
readonly minVersion: 1;
|
|
314
|
+
readonly secret: false;
|
|
315
|
+
readonly stateful: true;
|
|
316
|
+
readonly supportsEndpoints: true;
|
|
317
|
+
readonly autoCreate: true;
|
|
318
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
119
319
|
};
|
|
120
320
|
overheating: {
|
|
121
|
-
readonly id:
|
|
122
|
-
commandClass: CommandClasses.Battery;
|
|
123
|
-
property: "overheating";
|
|
124
|
-
};
|
|
321
|
+
readonly id: ValueIDBase;
|
|
125
322
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
126
323
|
readonly commandClass: CommandClasses.Battery;
|
|
127
324
|
readonly endpoint: number;
|
|
128
325
|
readonly property: "overheating";
|
|
129
326
|
};
|
|
130
327
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
131
|
-
readonly meta: {
|
|
132
|
-
readonly
|
|
133
|
-
readonly writeable: false;
|
|
134
|
-
readonly type: "boolean";
|
|
328
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
329
|
+
readonly type: "any";
|
|
135
330
|
readonly readable: true;
|
|
136
|
-
|
|
137
|
-
|
|
331
|
+
readonly writeable: true;
|
|
332
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
333
|
+
readonly type: "any";
|
|
334
|
+
readonly readable: true;
|
|
335
|
+
readonly writeable: true;
|
|
336
|
+
}>, ("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<{
|
|
337
|
+
readonly type: "any";
|
|
338
|
+
readonly readable: true;
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
353
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
354
|
+
readonly internal: false;
|
|
355
|
+
readonly minVersion: 1;
|
|
356
|
+
readonly secret: false;
|
|
357
|
+
readonly stateful: true;
|
|
358
|
+
readonly supportsEndpoints: true;
|
|
359
|
+
readonly autoCreate: true;
|
|
360
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
361
|
+
readonly internal: false;
|
|
362
|
+
readonly minVersion: 1;
|
|
363
|
+
readonly secret: false;
|
|
364
|
+
readonly stateful: true;
|
|
365
|
+
readonly supportsEndpoints: true;
|
|
366
|
+
readonly autoCreate: true;
|
|
367
|
+
}, ("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"]> ? {
|
|
368
|
+
readonly internal: false;
|
|
369
|
+
readonly minVersion: 1;
|
|
370
|
+
readonly secret: false;
|
|
138
371
|
readonly stateful: true;
|
|
372
|
+
readonly supportsEndpoints: true;
|
|
373
|
+
readonly autoCreate: true;
|
|
374
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
375
|
+
readonly internal: false;
|
|
376
|
+
readonly minVersion: 1;
|
|
139
377
|
readonly secret: false;
|
|
378
|
+
readonly stateful: true;
|
|
379
|
+
readonly supportsEndpoints: true;
|
|
380
|
+
readonly autoCreate: true;
|
|
381
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
140
382
|
readonly internal: false;
|
|
383
|
+
readonly minVersion: 1;
|
|
384
|
+
readonly secret: false;
|
|
385
|
+
readonly stateful: true;
|
|
141
386
|
readonly supportsEndpoints: true;
|
|
142
387
|
readonly autoCreate: true;
|
|
143
|
-
|
|
144
|
-
|
|
388
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
389
|
+
readonly internal: false;
|
|
390
|
+
readonly minVersion: 1;
|
|
391
|
+
readonly secret: false;
|
|
392
|
+
readonly stateful: true;
|
|
393
|
+
readonly supportsEndpoints: true;
|
|
394
|
+
readonly autoCreate: true;
|
|
395
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
145
396
|
};
|
|
146
397
|
backup: {
|
|
147
|
-
readonly id:
|
|
148
|
-
commandClass: CommandClasses.Battery;
|
|
149
|
-
property: "backup";
|
|
150
|
-
};
|
|
398
|
+
readonly id: ValueIDBase;
|
|
151
399
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
152
400
|
readonly commandClass: CommandClasses.Battery;
|
|
153
401
|
readonly endpoint: number;
|
|
154
402
|
readonly property: "backup";
|
|
155
403
|
};
|
|
156
404
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
157
|
-
readonly meta: {
|
|
158
|
-
readonly
|
|
159
|
-
readonly writeable: false;
|
|
160
|
-
readonly type: "boolean";
|
|
405
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
406
|
+
readonly type: "any";
|
|
161
407
|
readonly readable: true;
|
|
162
|
-
|
|
163
|
-
|
|
408
|
+
readonly writeable: true;
|
|
409
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
410
|
+
readonly type: "any";
|
|
411
|
+
readonly readable: true;
|
|
412
|
+
readonly writeable: true;
|
|
413
|
+
}>, ("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<{
|
|
414
|
+
readonly type: "any";
|
|
415
|
+
readonly readable: true;
|
|
416
|
+
readonly writeable: true;
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
430
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
431
|
+
readonly internal: false;
|
|
432
|
+
readonly minVersion: 1;
|
|
433
|
+
readonly secret: false;
|
|
164
434
|
readonly stateful: true;
|
|
435
|
+
readonly supportsEndpoints: true;
|
|
436
|
+
readonly autoCreate: true;
|
|
437
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
438
|
+
readonly internal: false;
|
|
439
|
+
readonly minVersion: 1;
|
|
165
440
|
readonly secret: false;
|
|
441
|
+
readonly stateful: true;
|
|
442
|
+
readonly supportsEndpoints: true;
|
|
443
|
+
readonly autoCreate: true;
|
|
444
|
+
}, ("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"]> ? {
|
|
166
445
|
readonly internal: false;
|
|
446
|
+
readonly minVersion: 1;
|
|
447
|
+
readonly secret: false;
|
|
448
|
+
readonly stateful: true;
|
|
167
449
|
readonly supportsEndpoints: true;
|
|
168
450
|
readonly autoCreate: true;
|
|
169
|
-
|
|
170
|
-
|
|
451
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
452
|
+
readonly internal: false;
|
|
453
|
+
readonly minVersion: 1;
|
|
454
|
+
readonly secret: false;
|
|
455
|
+
readonly stateful: true;
|
|
456
|
+
readonly supportsEndpoints: true;
|
|
457
|
+
readonly autoCreate: true;
|
|
458
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
459
|
+
readonly internal: false;
|
|
460
|
+
readonly minVersion: 1;
|
|
461
|
+
readonly secret: false;
|
|
462
|
+
readonly stateful: true;
|
|
463
|
+
readonly supportsEndpoints: true;
|
|
464
|
+
readonly autoCreate: true;
|
|
465
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
466
|
+
readonly internal: false;
|
|
467
|
+
readonly minVersion: 1;
|
|
468
|
+
readonly secret: false;
|
|
469
|
+
readonly stateful: true;
|
|
470
|
+
readonly supportsEndpoints: true;
|
|
471
|
+
readonly autoCreate: true;
|
|
472
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
171
473
|
};
|
|
172
474
|
rechargeable: {
|
|
173
|
-
readonly id:
|
|
174
|
-
commandClass: CommandClasses.Battery;
|
|
175
|
-
property: "rechargeable";
|
|
176
|
-
};
|
|
475
|
+
readonly id: ValueIDBase;
|
|
177
476
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
178
477
|
readonly commandClass: CommandClasses.Battery;
|
|
179
478
|
readonly endpoint: number;
|
|
180
479
|
readonly property: "rechargeable";
|
|
181
480
|
};
|
|
182
481
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
183
|
-
readonly meta: {
|
|
184
|
-
readonly
|
|
185
|
-
readonly writeable: false;
|
|
186
|
-
readonly type: "boolean";
|
|
482
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
483
|
+
readonly type: "any";
|
|
187
484
|
readonly readable: true;
|
|
188
|
-
|
|
189
|
-
|
|
485
|
+
readonly writeable: true;
|
|
486
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
487
|
+
readonly type: "any";
|
|
488
|
+
readonly readable: true;
|
|
489
|
+
readonly writeable: true;
|
|
490
|
+
}>, ("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<{
|
|
491
|
+
readonly type: "any";
|
|
492
|
+
readonly readable: true;
|
|
493
|
+
readonly writeable: true;
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
507
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
508
|
+
readonly internal: false;
|
|
509
|
+
readonly minVersion: 1;
|
|
510
|
+
readonly secret: false;
|
|
511
|
+
readonly stateful: true;
|
|
512
|
+
readonly supportsEndpoints: true;
|
|
513
|
+
readonly autoCreate: true;
|
|
514
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
515
|
+
readonly internal: false;
|
|
516
|
+
readonly minVersion: 1;
|
|
517
|
+
readonly secret: false;
|
|
190
518
|
readonly stateful: true;
|
|
519
|
+
readonly supportsEndpoints: true;
|
|
520
|
+
readonly autoCreate: true;
|
|
521
|
+
}, ("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"]> ? {
|
|
522
|
+
readonly internal: false;
|
|
523
|
+
readonly minVersion: 1;
|
|
191
524
|
readonly secret: false;
|
|
525
|
+
readonly stateful: true;
|
|
526
|
+
readonly supportsEndpoints: true;
|
|
527
|
+
readonly autoCreate: true;
|
|
528
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
192
529
|
readonly internal: false;
|
|
530
|
+
readonly minVersion: 1;
|
|
531
|
+
readonly secret: false;
|
|
532
|
+
readonly stateful: true;
|
|
193
533
|
readonly supportsEndpoints: true;
|
|
194
534
|
readonly autoCreate: true;
|
|
195
|
-
|
|
196
|
-
|
|
535
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
536
|
+
readonly internal: false;
|
|
537
|
+
readonly minVersion: 1;
|
|
538
|
+
readonly secret: false;
|
|
539
|
+
readonly stateful: true;
|
|
540
|
+
readonly supportsEndpoints: true;
|
|
541
|
+
readonly autoCreate: true;
|
|
542
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
543
|
+
readonly internal: false;
|
|
544
|
+
readonly minVersion: 1;
|
|
545
|
+
readonly secret: false;
|
|
546
|
+
readonly stateful: true;
|
|
547
|
+
readonly supportsEndpoints: true;
|
|
548
|
+
readonly autoCreate: true;
|
|
549
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
197
550
|
};
|
|
198
551
|
chargingStatus: {
|
|
199
|
-
readonly id:
|
|
200
|
-
commandClass: CommandClasses.Battery;
|
|
201
|
-
property: "chargingStatus";
|
|
202
|
-
};
|
|
552
|
+
readonly id: ValueIDBase;
|
|
203
553
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
204
554
|
readonly commandClass: CommandClasses.Battery;
|
|
205
555
|
readonly endpoint: number;
|
|
206
556
|
readonly property: "chargingStatus";
|
|
207
557
|
};
|
|
208
558
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
209
|
-
readonly meta: {
|
|
210
|
-
readonly
|
|
211
|
-
readonly states: {
|
|
212
|
-
[x: number]: string;
|
|
213
|
-
};
|
|
214
|
-
readonly writeable: false;
|
|
215
|
-
readonly min: 0;
|
|
216
|
-
readonly max: 255;
|
|
217
|
-
readonly type: "number";
|
|
559
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
560
|
+
readonly type: "any";
|
|
218
561
|
readonly readable: true;
|
|
219
|
-
|
|
220
|
-
|
|
562
|
+
readonly writeable: true;
|
|
563
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
564
|
+
readonly type: "any";
|
|
565
|
+
readonly readable: true;
|
|
566
|
+
readonly writeable: true;
|
|
567
|
+
}>, ("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<{
|
|
568
|
+
readonly type: "any";
|
|
569
|
+
readonly readable: true;
|
|
570
|
+
readonly writeable: true;
|
|
571
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
572
|
+
readonly type: "any";
|
|
573
|
+
readonly readable: true;
|
|
574
|
+
readonly writeable: true;
|
|
575
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
576
|
+
readonly type: "any";
|
|
577
|
+
readonly readable: true;
|
|
578
|
+
readonly writeable: true;
|
|
579
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
580
|
+
readonly type: "any";
|
|
581
|
+
readonly readable: true;
|
|
582
|
+
readonly writeable: true;
|
|
583
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
584
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
585
|
+
readonly internal: false;
|
|
586
|
+
readonly minVersion: 1;
|
|
587
|
+
readonly secret: false;
|
|
221
588
|
readonly stateful: true;
|
|
589
|
+
readonly supportsEndpoints: true;
|
|
590
|
+
readonly autoCreate: true;
|
|
591
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
592
|
+
readonly internal: false;
|
|
593
|
+
readonly minVersion: 1;
|
|
222
594
|
readonly secret: false;
|
|
595
|
+
readonly stateful: true;
|
|
596
|
+
readonly supportsEndpoints: true;
|
|
597
|
+
readonly autoCreate: true;
|
|
598
|
+
}, ("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"]> ? {
|
|
223
599
|
readonly internal: false;
|
|
600
|
+
readonly minVersion: 1;
|
|
601
|
+
readonly secret: false;
|
|
602
|
+
readonly stateful: true;
|
|
224
603
|
readonly supportsEndpoints: true;
|
|
225
604
|
readonly autoCreate: true;
|
|
226
|
-
|
|
227
|
-
|
|
605
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
606
|
+
readonly internal: false;
|
|
607
|
+
readonly minVersion: 1;
|
|
608
|
+
readonly secret: false;
|
|
609
|
+
readonly stateful: true;
|
|
610
|
+
readonly supportsEndpoints: true;
|
|
611
|
+
readonly autoCreate: true;
|
|
612
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
613
|
+
readonly internal: false;
|
|
614
|
+
readonly minVersion: 1;
|
|
615
|
+
readonly secret: false;
|
|
616
|
+
readonly stateful: true;
|
|
617
|
+
readonly supportsEndpoints: true;
|
|
618
|
+
readonly autoCreate: true;
|
|
619
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
620
|
+
readonly internal: false;
|
|
621
|
+
readonly minVersion: 1;
|
|
622
|
+
readonly secret: false;
|
|
623
|
+
readonly stateful: true;
|
|
624
|
+
readonly supportsEndpoints: true;
|
|
625
|
+
readonly autoCreate: true;
|
|
626
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
228
627
|
};
|
|
229
628
|
temperature: {
|
|
230
|
-
readonly id:
|
|
231
|
-
commandClass: CommandClasses.Battery;
|
|
232
|
-
property: "temperature";
|
|
233
|
-
};
|
|
629
|
+
readonly id: ValueIDBase;
|
|
234
630
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
235
631
|
readonly commandClass: CommandClasses.Battery;
|
|
236
632
|
readonly endpoint: number;
|
|
237
633
|
readonly property: "temperature";
|
|
238
634
|
};
|
|
239
635
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
240
|
-
readonly meta: {
|
|
241
|
-
readonly
|
|
242
|
-
readonly writeable: false;
|
|
243
|
-
readonly min: -128;
|
|
244
|
-
readonly max: 127;
|
|
245
|
-
readonly type: "number";
|
|
636
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
637
|
+
readonly type: "any";
|
|
246
638
|
readonly readable: true;
|
|
247
|
-
|
|
248
|
-
|
|
639
|
+
readonly writeable: true;
|
|
640
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
641
|
+
readonly type: "any";
|
|
642
|
+
readonly readable: true;
|
|
643
|
+
readonly writeable: true;
|
|
644
|
+
}>, ("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<{
|
|
645
|
+
readonly type: "any";
|
|
646
|
+
readonly readable: true;
|
|
647
|
+
readonly writeable: true;
|
|
648
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
649
|
+
readonly type: "any";
|
|
650
|
+
readonly readable: true;
|
|
651
|
+
readonly writeable: true;
|
|
652
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
653
|
+
readonly type: "any";
|
|
654
|
+
readonly readable: true;
|
|
655
|
+
readonly writeable: true;
|
|
656
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
657
|
+
readonly type: "any";
|
|
658
|
+
readonly readable: true;
|
|
659
|
+
readonly writeable: true;
|
|
660
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
661
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
662
|
+
readonly internal: false;
|
|
663
|
+
readonly minVersion: 1;
|
|
664
|
+
readonly secret: false;
|
|
249
665
|
readonly stateful: true;
|
|
666
|
+
readonly supportsEndpoints: true;
|
|
667
|
+
readonly autoCreate: true;
|
|
668
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
669
|
+
readonly internal: false;
|
|
670
|
+
readonly minVersion: 1;
|
|
250
671
|
readonly secret: false;
|
|
672
|
+
readonly stateful: true;
|
|
673
|
+
readonly supportsEndpoints: true;
|
|
674
|
+
readonly autoCreate: true;
|
|
675
|
+
}, ("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"]> ? {
|
|
251
676
|
readonly internal: false;
|
|
677
|
+
readonly minVersion: 1;
|
|
678
|
+
readonly secret: false;
|
|
679
|
+
readonly stateful: true;
|
|
252
680
|
readonly supportsEndpoints: true;
|
|
253
681
|
readonly autoCreate: true;
|
|
254
|
-
|
|
255
|
-
|
|
682
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
683
|
+
readonly internal: false;
|
|
684
|
+
readonly minVersion: 1;
|
|
685
|
+
readonly secret: false;
|
|
686
|
+
readonly stateful: true;
|
|
687
|
+
readonly supportsEndpoints: true;
|
|
688
|
+
readonly autoCreate: true;
|
|
689
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
690
|
+
readonly internal: false;
|
|
691
|
+
readonly minVersion: 1;
|
|
692
|
+
readonly secret: false;
|
|
693
|
+
readonly stateful: true;
|
|
694
|
+
readonly supportsEndpoints: true;
|
|
695
|
+
readonly autoCreate: true;
|
|
696
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
697
|
+
readonly internal: false;
|
|
698
|
+
readonly minVersion: 1;
|
|
699
|
+
readonly secret: false;
|
|
700
|
+
readonly stateful: true;
|
|
701
|
+
readonly supportsEndpoints: true;
|
|
702
|
+
readonly autoCreate: true;
|
|
703
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
256
704
|
};
|
|
257
705
|
maximumCapacity: {
|
|
258
|
-
readonly id:
|
|
259
|
-
commandClass: CommandClasses.Battery;
|
|
260
|
-
property: "maximumCapacity";
|
|
261
|
-
};
|
|
706
|
+
readonly id: ValueIDBase;
|
|
262
707
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
263
708
|
readonly commandClass: CommandClasses.Battery;
|
|
264
709
|
readonly endpoint: number;
|
|
265
710
|
readonly property: "maximumCapacity";
|
|
266
711
|
};
|
|
267
712
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
268
|
-
readonly meta: {
|
|
269
|
-
readonly
|
|
270
|
-
readonly unit: "%";
|
|
271
|
-
readonly label: "Maximum capacity";
|
|
272
|
-
readonly writeable: false;
|
|
273
|
-
readonly min: 0;
|
|
274
|
-
readonly type: "number";
|
|
713
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
714
|
+
readonly type: "any";
|
|
275
715
|
readonly readable: true;
|
|
276
|
-
|
|
277
|
-
|
|
716
|
+
readonly writeable: true;
|
|
717
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
718
|
+
readonly type: "any";
|
|
719
|
+
readonly readable: true;
|
|
720
|
+
readonly writeable: true;
|
|
721
|
+
}>, ("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<{
|
|
722
|
+
readonly type: "any";
|
|
723
|
+
readonly readable: true;
|
|
724
|
+
readonly writeable: true;
|
|
725
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
726
|
+
readonly type: "any";
|
|
727
|
+
readonly readable: true;
|
|
728
|
+
readonly writeable: true;
|
|
729
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
730
|
+
readonly type: "any";
|
|
731
|
+
readonly readable: true;
|
|
732
|
+
readonly writeable: true;
|
|
733
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
734
|
+
readonly type: "any";
|
|
735
|
+
readonly readable: true;
|
|
736
|
+
readonly writeable: true;
|
|
737
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
738
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
739
|
+
readonly internal: false;
|
|
740
|
+
readonly minVersion: 1;
|
|
741
|
+
readonly secret: false;
|
|
278
742
|
readonly stateful: true;
|
|
743
|
+
readonly supportsEndpoints: true;
|
|
744
|
+
readonly autoCreate: true;
|
|
745
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
746
|
+
readonly internal: false;
|
|
747
|
+
readonly minVersion: 1;
|
|
279
748
|
readonly secret: false;
|
|
749
|
+
readonly stateful: true;
|
|
750
|
+
readonly supportsEndpoints: true;
|
|
751
|
+
readonly autoCreate: true;
|
|
752
|
+
}, ("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"]> ? {
|
|
280
753
|
readonly internal: false;
|
|
754
|
+
readonly minVersion: 1;
|
|
755
|
+
readonly secret: false;
|
|
756
|
+
readonly stateful: true;
|
|
281
757
|
readonly supportsEndpoints: true;
|
|
282
758
|
readonly autoCreate: true;
|
|
283
|
-
|
|
284
|
-
|
|
759
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
760
|
+
readonly internal: false;
|
|
761
|
+
readonly minVersion: 1;
|
|
762
|
+
readonly secret: false;
|
|
763
|
+
readonly stateful: true;
|
|
764
|
+
readonly supportsEndpoints: true;
|
|
765
|
+
readonly autoCreate: true;
|
|
766
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
767
|
+
readonly internal: false;
|
|
768
|
+
readonly minVersion: 1;
|
|
769
|
+
readonly secret: false;
|
|
770
|
+
readonly stateful: true;
|
|
771
|
+
readonly supportsEndpoints: true;
|
|
772
|
+
readonly autoCreate: true;
|
|
773
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
774
|
+
readonly internal: false;
|
|
775
|
+
readonly minVersion: 1;
|
|
776
|
+
readonly secret: false;
|
|
777
|
+
readonly stateful: true;
|
|
778
|
+
readonly supportsEndpoints: true;
|
|
779
|
+
readonly autoCreate: true;
|
|
780
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
285
781
|
};
|
|
286
782
|
isLow: {
|
|
287
|
-
readonly id:
|
|
288
|
-
commandClass: CommandClasses.Battery;
|
|
289
|
-
property: "isLow";
|
|
290
|
-
};
|
|
783
|
+
readonly id: ValueIDBase;
|
|
291
784
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
292
785
|
readonly commandClass: CommandClasses.Battery;
|
|
293
786
|
readonly endpoint: number;
|
|
294
787
|
readonly property: "isLow";
|
|
295
788
|
};
|
|
296
789
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
297
|
-
readonly meta: {
|
|
298
|
-
readonly
|
|
299
|
-
readonly writeable: false;
|
|
300
|
-
readonly type: "boolean";
|
|
790
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
791
|
+
readonly type: "any";
|
|
301
792
|
readonly readable: true;
|
|
302
|
-
|
|
303
|
-
|
|
793
|
+
readonly writeable: true;
|
|
794
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
795
|
+
readonly type: "any";
|
|
796
|
+
readonly readable: true;
|
|
797
|
+
readonly writeable: true;
|
|
798
|
+
}>, ("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<{
|
|
799
|
+
readonly type: "any";
|
|
800
|
+
readonly readable: true;
|
|
801
|
+
readonly writeable: true;
|
|
802
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
803
|
+
readonly type: "any";
|
|
804
|
+
readonly readable: true;
|
|
805
|
+
readonly writeable: true;
|
|
806
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
807
|
+
readonly type: "any";
|
|
808
|
+
readonly readable: true;
|
|
809
|
+
readonly writeable: true;
|
|
810
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
811
|
+
readonly type: "any";
|
|
812
|
+
readonly readable: true;
|
|
813
|
+
readonly writeable: true;
|
|
814
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
815
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
304
816
|
readonly internal: false;
|
|
305
817
|
readonly minVersion: 1;
|
|
306
818
|
readonly secret: false;
|
|
307
819
|
readonly stateful: true;
|
|
308
820
|
readonly supportsEndpoints: true;
|
|
309
821
|
readonly autoCreate: true;
|
|
310
|
-
}
|
|
822
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
823
|
+
readonly internal: false;
|
|
824
|
+
readonly minVersion: 1;
|
|
825
|
+
readonly secret: false;
|
|
826
|
+
readonly stateful: true;
|
|
827
|
+
readonly supportsEndpoints: true;
|
|
828
|
+
readonly autoCreate: true;
|
|
829
|
+
}, ("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"]> ? {
|
|
830
|
+
readonly internal: false;
|
|
831
|
+
readonly minVersion: 1;
|
|
832
|
+
readonly secret: false;
|
|
833
|
+
readonly stateful: true;
|
|
834
|
+
readonly supportsEndpoints: true;
|
|
835
|
+
readonly autoCreate: true;
|
|
836
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
837
|
+
readonly internal: false;
|
|
838
|
+
readonly minVersion: 1;
|
|
839
|
+
readonly secret: false;
|
|
840
|
+
readonly stateful: true;
|
|
841
|
+
readonly supportsEndpoints: true;
|
|
842
|
+
readonly autoCreate: true;
|
|
843
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
844
|
+
readonly internal: false;
|
|
845
|
+
readonly minVersion: 1;
|
|
846
|
+
readonly secret: false;
|
|
847
|
+
readonly stateful: true;
|
|
848
|
+
readonly supportsEndpoints: true;
|
|
849
|
+
readonly autoCreate: true;
|
|
850
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
851
|
+
readonly internal: false;
|
|
852
|
+
readonly minVersion: 1;
|
|
853
|
+
readonly secret: false;
|
|
854
|
+
readonly stateful: true;
|
|
855
|
+
readonly supportsEndpoints: true;
|
|
856
|
+
readonly autoCreate: true;
|
|
857
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
311
858
|
};
|
|
312
859
|
level: {
|
|
313
|
-
readonly id:
|
|
314
|
-
commandClass: CommandClasses.Battery;
|
|
315
|
-
property: "level";
|
|
316
|
-
};
|
|
860
|
+
readonly id: ValueIDBase;
|
|
317
861
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
318
862
|
readonly commandClass: CommandClasses.Battery;
|
|
319
863
|
readonly endpoint: number;
|
|
320
864
|
readonly property: "level";
|
|
321
865
|
};
|
|
322
866
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
323
|
-
readonly meta: {
|
|
324
|
-
readonly
|
|
325
|
-
readonly unit: "%";
|
|
326
|
-
readonly label: "Battery level";
|
|
327
|
-
readonly writeable: false;
|
|
328
|
-
readonly min: 0;
|
|
329
|
-
readonly type: "number";
|
|
867
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
868
|
+
readonly type: "any";
|
|
330
869
|
readonly readable: true;
|
|
331
|
-
|
|
332
|
-
|
|
870
|
+
readonly writeable: true;
|
|
871
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
872
|
+
readonly type: "any";
|
|
873
|
+
readonly readable: true;
|
|
874
|
+
readonly writeable: true;
|
|
875
|
+
}>, ("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<{
|
|
876
|
+
readonly type: "any";
|
|
877
|
+
readonly readable: true;
|
|
878
|
+
readonly writeable: true;
|
|
879
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
880
|
+
readonly type: "any";
|
|
881
|
+
readonly readable: true;
|
|
882
|
+
readonly writeable: true;
|
|
883
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
884
|
+
readonly type: "any";
|
|
885
|
+
readonly readable: true;
|
|
886
|
+
readonly writeable: true;
|
|
887
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
888
|
+
readonly type: "any";
|
|
889
|
+
readonly readable: true;
|
|
890
|
+
readonly writeable: true;
|
|
891
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
892
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
333
893
|
readonly internal: false;
|
|
334
894
|
readonly minVersion: 1;
|
|
335
895
|
readonly secret: false;
|
|
336
896
|
readonly stateful: true;
|
|
337
897
|
readonly supportsEndpoints: true;
|
|
338
898
|
readonly autoCreate: true;
|
|
339
|
-
}
|
|
899
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
900
|
+
readonly internal: false;
|
|
901
|
+
readonly minVersion: 1;
|
|
902
|
+
readonly secret: false;
|
|
903
|
+
readonly stateful: true;
|
|
904
|
+
readonly supportsEndpoints: true;
|
|
905
|
+
readonly autoCreate: true;
|
|
906
|
+
}, ("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"]> ? {
|
|
907
|
+
readonly internal: false;
|
|
908
|
+
readonly minVersion: 1;
|
|
909
|
+
readonly secret: false;
|
|
910
|
+
readonly stateful: true;
|
|
911
|
+
readonly supportsEndpoints: true;
|
|
912
|
+
readonly autoCreate: true;
|
|
913
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
914
|
+
readonly internal: false;
|
|
915
|
+
readonly minVersion: 1;
|
|
916
|
+
readonly secret: false;
|
|
917
|
+
readonly stateful: true;
|
|
918
|
+
readonly supportsEndpoints: true;
|
|
919
|
+
readonly autoCreate: true;
|
|
920
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
921
|
+
readonly internal: false;
|
|
922
|
+
readonly minVersion: 1;
|
|
923
|
+
readonly secret: false;
|
|
924
|
+
readonly stateful: true;
|
|
925
|
+
readonly supportsEndpoints: true;
|
|
926
|
+
readonly autoCreate: true;
|
|
927
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
928
|
+
readonly internal: false;
|
|
929
|
+
readonly minVersion: 1;
|
|
930
|
+
readonly secret: false;
|
|
931
|
+
readonly stateful: true;
|
|
932
|
+
readonly supportsEndpoints: true;
|
|
933
|
+
readonly autoCreate: true;
|
|
934
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
340
935
|
};
|
|
341
936
|
}>;
|
|
342
937
|
export declare class BatteryCCAPI extends PhysicalCCAPI {
|
|
@@ -382,7 +977,7 @@ export declare class BatteryCCReport extends BatteryCC {
|
|
|
382
977
|
readonly rechargeOrReplace: BatteryReplacementStatus | undefined;
|
|
383
978
|
readonly disconnected: boolean | undefined;
|
|
384
979
|
readonly lowTemperatureStatus: boolean | undefined;
|
|
385
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
980
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
386
981
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
387
982
|
}
|
|
388
983
|
export declare class BatteryCCGet extends BatteryCC {
|