@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,6 +1,7 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
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 MaybeUnknown, type WithAddress } from "@zwave-js/core";
|
|
4
|
+
import { CommandClasses, type ControlsCC, type EndpointId, type GetEndpoint, type MaybeNotKnown, type MessageOrCCLogEntry, type NodeId, type SinglecastCC, type SupervisionResult, type SupportsCC, ValueMetadata } from "@zwave-js/core/safe";
|
|
4
5
|
import { Bytes } from "@zwave-js/shared/safe";
|
|
5
6
|
import { type AllOrNone } from "@zwave-js/shared/safe";
|
|
6
7
|
import { POLL_VALUE, PhysicalCCAPI, type PollValueImplementation, SET_VALUE, SET_VALUE_HOOKS, type SetValueImplementation, type SetValueImplementationHooksFactory } from "../lib/API.js";
|
|
@@ -8,21 +9,32 @@ import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesCont
|
|
|
8
9
|
import { MeterCommand, type MeterReading, RateType } from "../lib/_Types.js";
|
|
9
10
|
export declare const MeterCCValues: Readonly<{
|
|
10
11
|
value: ((meterType: number, rateType: RateType, scale: number) => {
|
|
11
|
-
readonly meta: {
|
|
12
|
-
readonly
|
|
13
|
-
readonly meterType: number;
|
|
14
|
-
readonly rateType: RateType;
|
|
15
|
-
readonly scale: number;
|
|
16
|
-
};
|
|
17
|
-
readonly writeable: false;
|
|
18
|
-
readonly type: "number";
|
|
12
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
13
|
+
readonly type: "any";
|
|
19
14
|
readonly readable: true;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
15
|
+
readonly writeable: true;
|
|
16
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
17
|
+
readonly type: "any";
|
|
18
|
+
readonly readable: true;
|
|
19
|
+
readonly writeable: true;
|
|
20
|
+
}>, ("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<{
|
|
21
|
+
readonly type: "any";
|
|
22
|
+
readonly readable: true;
|
|
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"]>)[K]] ? never : K]: (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>;
|
|
37
|
+
readonly id: ValueIDBase;
|
|
26
38
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
27
39
|
readonly commandClass: CommandClasses.Meter;
|
|
28
40
|
readonly endpoint: number;
|
|
@@ -41,25 +53,32 @@ export declare const MeterCCValues: Readonly<{
|
|
|
41
53
|
};
|
|
42
54
|
};
|
|
43
55
|
resetSingle: ((meterType: number, rateType: RateType, scale: number) => {
|
|
44
|
-
readonly meta: {
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly true: "Reset";
|
|
48
|
-
};
|
|
49
|
-
readonly ccSpecific: {
|
|
50
|
-
readonly meterType: number;
|
|
51
|
-
readonly rateType: RateType;
|
|
52
|
-
readonly scale: number;
|
|
53
|
-
};
|
|
54
|
-
readonly readable: false;
|
|
55
|
-
readonly type: "boolean";
|
|
56
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
57
|
+
readonly type: "any";
|
|
58
|
+
readonly readable: true;
|
|
56
59
|
readonly writeable: true;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
61
|
+
readonly type: "any";
|
|
62
|
+
readonly readable: true;
|
|
63
|
+
readonly writeable: true;
|
|
64
|
+
}>, ("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<{
|
|
65
|
+
readonly type: "any";
|
|
66
|
+
readonly readable: true;
|
|
67
|
+
readonly writeable: true;
|
|
68
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
69
|
+
readonly type: "any";
|
|
70
|
+
readonly readable: true;
|
|
71
|
+
readonly writeable: true;
|
|
72
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
73
|
+
readonly type: "any";
|
|
74
|
+
readonly readable: true;
|
|
75
|
+
readonly writeable: true;
|
|
76
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
77
|
+
readonly type: "any";
|
|
78
|
+
readonly readable: true;
|
|
79
|
+
readonly writeable: true;
|
|
80
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
81
|
+
readonly id: ValueIDBase;
|
|
63
82
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
64
83
|
readonly commandClass: CommandClasses.Meter;
|
|
65
84
|
readonly endpoint: number;
|
|
@@ -78,133 +97,389 @@ export declare const MeterCCValues: Readonly<{
|
|
|
78
97
|
};
|
|
79
98
|
};
|
|
80
99
|
resetAll: {
|
|
81
|
-
readonly id:
|
|
82
|
-
commandClass: CommandClasses.Meter;
|
|
83
|
-
property: "reset";
|
|
84
|
-
};
|
|
100
|
+
readonly id: ValueIDBase;
|
|
85
101
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
86
102
|
readonly commandClass: CommandClasses.Meter;
|
|
87
103
|
readonly endpoint: number;
|
|
88
104
|
readonly property: "reset";
|
|
89
105
|
};
|
|
90
106
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
91
|
-
readonly meta: {
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly true: "Reset";
|
|
95
|
-
};
|
|
96
|
-
readonly readable: false;
|
|
97
|
-
readonly type: "boolean";
|
|
107
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
108
|
+
readonly type: "any";
|
|
109
|
+
readonly readable: true;
|
|
98
110
|
readonly writeable: true;
|
|
99
|
-
}
|
|
100
|
-
|
|
111
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
112
|
+
readonly type: "any";
|
|
113
|
+
readonly readable: true;
|
|
114
|
+
readonly writeable: true;
|
|
115
|
+
}>, ("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<{
|
|
116
|
+
readonly type: "any";
|
|
117
|
+
readonly readable: true;
|
|
118
|
+
readonly writeable: true;
|
|
119
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
120
|
+
readonly type: "any";
|
|
121
|
+
readonly readable: true;
|
|
122
|
+
readonly writeable: true;
|
|
123
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
124
|
+
readonly type: "any";
|
|
125
|
+
readonly readable: true;
|
|
126
|
+
readonly writeable: true;
|
|
127
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
128
|
+
readonly type: "any";
|
|
129
|
+
readonly readable: true;
|
|
130
|
+
readonly writeable: true;
|
|
131
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
132
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
101
133
|
readonly internal: false;
|
|
102
134
|
readonly minVersion: 1;
|
|
103
135
|
readonly secret: false;
|
|
104
136
|
readonly stateful: true;
|
|
105
137
|
readonly supportsEndpoints: true;
|
|
106
138
|
readonly autoCreate: true;
|
|
107
|
-
}
|
|
139
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
140
|
+
readonly internal: false;
|
|
141
|
+
readonly minVersion: 1;
|
|
142
|
+
readonly secret: false;
|
|
143
|
+
readonly stateful: true;
|
|
144
|
+
readonly supportsEndpoints: true;
|
|
145
|
+
readonly autoCreate: true;
|
|
146
|
+
}, ("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"]> ? {
|
|
147
|
+
readonly internal: false;
|
|
148
|
+
readonly minVersion: 1;
|
|
149
|
+
readonly secret: false;
|
|
150
|
+
readonly stateful: true;
|
|
151
|
+
readonly supportsEndpoints: true;
|
|
152
|
+
readonly autoCreate: true;
|
|
153
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
154
|
+
readonly internal: false;
|
|
155
|
+
readonly minVersion: 1;
|
|
156
|
+
readonly secret: false;
|
|
157
|
+
readonly stateful: true;
|
|
158
|
+
readonly supportsEndpoints: true;
|
|
159
|
+
readonly autoCreate: true;
|
|
160
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
161
|
+
readonly internal: false;
|
|
162
|
+
readonly minVersion: 1;
|
|
163
|
+
readonly secret: false;
|
|
164
|
+
readonly stateful: true;
|
|
165
|
+
readonly supportsEndpoints: true;
|
|
166
|
+
readonly autoCreate: true;
|
|
167
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
168
|
+
readonly internal: false;
|
|
169
|
+
readonly minVersion: 1;
|
|
170
|
+
readonly secret: false;
|
|
171
|
+
readonly stateful: true;
|
|
172
|
+
readonly supportsEndpoints: true;
|
|
173
|
+
readonly autoCreate: true;
|
|
174
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
108
175
|
};
|
|
109
176
|
supportedRateTypes: {
|
|
110
|
-
readonly id:
|
|
111
|
-
commandClass: CommandClasses.Meter;
|
|
112
|
-
property: "supportedRateTypes";
|
|
113
|
-
};
|
|
177
|
+
readonly id: ValueIDBase;
|
|
114
178
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
115
179
|
readonly commandClass: CommandClasses.Meter;
|
|
116
180
|
readonly endpoint: number;
|
|
117
181
|
readonly property: "supportedRateTypes";
|
|
118
182
|
};
|
|
119
183
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
120
|
-
readonly meta: {
|
|
184
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
121
185
|
readonly type: "any";
|
|
122
186
|
readonly readable: true;
|
|
123
187
|
readonly writeable: true;
|
|
124
|
-
}
|
|
125
|
-
|
|
188
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
189
|
+
readonly type: "any";
|
|
190
|
+
readonly readable: true;
|
|
191
|
+
readonly writeable: true;
|
|
192
|
+
}>, ("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<{
|
|
193
|
+
readonly type: "any";
|
|
194
|
+
readonly readable: true;
|
|
195
|
+
readonly writeable: true;
|
|
196
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
197
|
+
readonly type: "any";
|
|
198
|
+
readonly readable: true;
|
|
199
|
+
readonly writeable: true;
|
|
200
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
201
|
+
readonly type: "any";
|
|
202
|
+
readonly readable: true;
|
|
203
|
+
readonly writeable: true;
|
|
204
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
205
|
+
readonly type: "any";
|
|
206
|
+
readonly readable: true;
|
|
207
|
+
readonly writeable: true;
|
|
208
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
209
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
210
|
+
readonly internal: false;
|
|
211
|
+
readonly minVersion: 1;
|
|
212
|
+
readonly secret: false;
|
|
126
213
|
readonly stateful: true;
|
|
214
|
+
readonly supportsEndpoints: true;
|
|
215
|
+
readonly autoCreate: true;
|
|
216
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
217
|
+
readonly internal: false;
|
|
218
|
+
readonly minVersion: 1;
|
|
219
|
+
readonly secret: false;
|
|
220
|
+
readonly stateful: true;
|
|
221
|
+
readonly supportsEndpoints: true;
|
|
222
|
+
readonly autoCreate: true;
|
|
223
|
+
}, ("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"]> ? {
|
|
224
|
+
readonly internal: false;
|
|
225
|
+
readonly minVersion: 1;
|
|
127
226
|
readonly secret: false;
|
|
227
|
+
readonly stateful: true;
|
|
228
|
+
readonly supportsEndpoints: true;
|
|
229
|
+
readonly autoCreate: true;
|
|
230
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
231
|
+
readonly internal: false;
|
|
128
232
|
readonly minVersion: 1;
|
|
233
|
+
readonly secret: false;
|
|
234
|
+
readonly stateful: true;
|
|
129
235
|
readonly supportsEndpoints: true;
|
|
130
236
|
readonly autoCreate: true;
|
|
131
|
-
|
|
132
|
-
|
|
237
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
238
|
+
readonly internal: false;
|
|
239
|
+
readonly minVersion: 1;
|
|
240
|
+
readonly secret: false;
|
|
241
|
+
readonly stateful: true;
|
|
242
|
+
readonly supportsEndpoints: true;
|
|
243
|
+
readonly autoCreate: true;
|
|
244
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
245
|
+
readonly internal: false;
|
|
246
|
+
readonly minVersion: 1;
|
|
247
|
+
readonly secret: false;
|
|
248
|
+
readonly stateful: true;
|
|
249
|
+
readonly supportsEndpoints: true;
|
|
250
|
+
readonly autoCreate: true;
|
|
251
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
133
252
|
};
|
|
134
253
|
supportedScales: {
|
|
135
|
-
readonly id:
|
|
136
|
-
commandClass: CommandClasses.Meter;
|
|
137
|
-
property: "supportedScales";
|
|
138
|
-
};
|
|
254
|
+
readonly id: ValueIDBase;
|
|
139
255
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
140
256
|
readonly commandClass: CommandClasses.Meter;
|
|
141
257
|
readonly endpoint: number;
|
|
142
258
|
readonly property: "supportedScales";
|
|
143
259
|
};
|
|
144
260
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
145
|
-
readonly meta: {
|
|
261
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
146
262
|
readonly type: "any";
|
|
147
263
|
readonly readable: true;
|
|
148
264
|
readonly writeable: true;
|
|
149
|
-
}
|
|
150
|
-
|
|
265
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
266
|
+
readonly type: "any";
|
|
267
|
+
readonly readable: true;
|
|
268
|
+
readonly writeable: true;
|
|
269
|
+
}>, ("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<{
|
|
270
|
+
readonly type: "any";
|
|
271
|
+
readonly readable: true;
|
|
272
|
+
readonly writeable: true;
|
|
273
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
274
|
+
readonly type: "any";
|
|
275
|
+
readonly readable: true;
|
|
276
|
+
readonly writeable: true;
|
|
277
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
278
|
+
readonly type: "any";
|
|
279
|
+
readonly readable: true;
|
|
280
|
+
readonly writeable: true;
|
|
281
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
282
|
+
readonly type: "any";
|
|
283
|
+
readonly readable: true;
|
|
284
|
+
readonly writeable: true;
|
|
285
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
286
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
287
|
+
readonly internal: false;
|
|
288
|
+
readonly minVersion: 1;
|
|
289
|
+
readonly secret: false;
|
|
290
|
+
readonly stateful: true;
|
|
291
|
+
readonly supportsEndpoints: true;
|
|
292
|
+
readonly autoCreate: true;
|
|
293
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
294
|
+
readonly internal: false;
|
|
295
|
+
readonly minVersion: 1;
|
|
296
|
+
readonly secret: false;
|
|
151
297
|
readonly stateful: true;
|
|
298
|
+
readonly supportsEndpoints: true;
|
|
299
|
+
readonly autoCreate: true;
|
|
300
|
+
}, ("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"]> ? {
|
|
301
|
+
readonly internal: false;
|
|
302
|
+
readonly minVersion: 1;
|
|
152
303
|
readonly secret: false;
|
|
304
|
+
readonly stateful: true;
|
|
305
|
+
readonly supportsEndpoints: true;
|
|
306
|
+
readonly autoCreate: true;
|
|
307
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
308
|
+
readonly internal: false;
|
|
153
309
|
readonly minVersion: 1;
|
|
310
|
+
readonly secret: false;
|
|
311
|
+
readonly stateful: true;
|
|
154
312
|
readonly supportsEndpoints: true;
|
|
155
313
|
readonly autoCreate: true;
|
|
156
|
-
|
|
157
|
-
|
|
314
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
315
|
+
readonly internal: false;
|
|
316
|
+
readonly minVersion: 1;
|
|
317
|
+
readonly secret: false;
|
|
318
|
+
readonly stateful: true;
|
|
319
|
+
readonly supportsEndpoints: true;
|
|
320
|
+
readonly autoCreate: true;
|
|
321
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
322
|
+
readonly internal: false;
|
|
323
|
+
readonly minVersion: 1;
|
|
324
|
+
readonly secret: false;
|
|
325
|
+
readonly stateful: true;
|
|
326
|
+
readonly supportsEndpoints: true;
|
|
327
|
+
readonly autoCreate: true;
|
|
328
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
158
329
|
};
|
|
159
330
|
supportsReset: {
|
|
160
|
-
readonly id:
|
|
161
|
-
commandClass: CommandClasses.Meter;
|
|
162
|
-
property: "supportsReset";
|
|
163
|
-
};
|
|
331
|
+
readonly id: ValueIDBase;
|
|
164
332
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
165
333
|
readonly commandClass: CommandClasses.Meter;
|
|
166
334
|
readonly endpoint: number;
|
|
167
335
|
readonly property: "supportsReset";
|
|
168
336
|
};
|
|
169
337
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
170
|
-
readonly meta: {
|
|
338
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
171
339
|
readonly type: "any";
|
|
172
340
|
readonly readable: true;
|
|
173
341
|
readonly writeable: true;
|
|
174
|
-
}
|
|
175
|
-
|
|
342
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
343
|
+
readonly type: "any";
|
|
344
|
+
readonly readable: true;
|
|
345
|
+
readonly writeable: true;
|
|
346
|
+
}>, ("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<{
|
|
347
|
+
readonly type: "any";
|
|
348
|
+
readonly readable: true;
|
|
349
|
+
readonly writeable: true;
|
|
350
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
351
|
+
readonly type: "any";
|
|
352
|
+
readonly readable: true;
|
|
353
|
+
readonly writeable: true;
|
|
354
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
355
|
+
readonly type: "any";
|
|
356
|
+
readonly readable: true;
|
|
357
|
+
readonly writeable: true;
|
|
358
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
359
|
+
readonly type: "any";
|
|
360
|
+
readonly readable: true;
|
|
361
|
+
readonly writeable: true;
|
|
362
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
363
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
364
|
+
readonly internal: false;
|
|
365
|
+
readonly minVersion: 1;
|
|
366
|
+
readonly secret: false;
|
|
367
|
+
readonly stateful: true;
|
|
368
|
+
readonly supportsEndpoints: true;
|
|
369
|
+
readonly autoCreate: true;
|
|
370
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
371
|
+
readonly internal: false;
|
|
372
|
+
readonly minVersion: 1;
|
|
373
|
+
readonly secret: false;
|
|
374
|
+
readonly stateful: true;
|
|
375
|
+
readonly supportsEndpoints: true;
|
|
376
|
+
readonly autoCreate: true;
|
|
377
|
+
}, ("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"]> ? {
|
|
378
|
+
readonly internal: false;
|
|
379
|
+
readonly minVersion: 1;
|
|
380
|
+
readonly secret: false;
|
|
176
381
|
readonly stateful: true;
|
|
382
|
+
readonly supportsEndpoints: true;
|
|
383
|
+
readonly autoCreate: true;
|
|
384
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
385
|
+
readonly internal: false;
|
|
386
|
+
readonly minVersion: 1;
|
|
177
387
|
readonly secret: false;
|
|
388
|
+
readonly stateful: true;
|
|
389
|
+
readonly supportsEndpoints: true;
|
|
390
|
+
readonly autoCreate: true;
|
|
391
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
392
|
+
readonly internal: false;
|
|
178
393
|
readonly minVersion: 1;
|
|
394
|
+
readonly secret: false;
|
|
395
|
+
readonly stateful: true;
|
|
179
396
|
readonly supportsEndpoints: true;
|
|
180
397
|
readonly autoCreate: true;
|
|
181
|
-
|
|
182
|
-
|
|
398
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
399
|
+
readonly internal: false;
|
|
400
|
+
readonly minVersion: 1;
|
|
401
|
+
readonly secret: false;
|
|
402
|
+
readonly stateful: true;
|
|
403
|
+
readonly supportsEndpoints: true;
|
|
404
|
+
readonly autoCreate: true;
|
|
405
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
183
406
|
};
|
|
184
407
|
type: {
|
|
185
|
-
readonly id:
|
|
186
|
-
commandClass: CommandClasses.Meter;
|
|
187
|
-
property: "type";
|
|
188
|
-
};
|
|
408
|
+
readonly id: ValueIDBase;
|
|
189
409
|
readonly endpoint: (endpoint?: number | undefined) => {
|
|
190
410
|
readonly commandClass: CommandClasses.Meter;
|
|
191
411
|
readonly endpoint: number;
|
|
192
412
|
readonly property: "type";
|
|
193
413
|
};
|
|
194
414
|
readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
195
|
-
readonly meta: {
|
|
415
|
+
readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
196
416
|
readonly type: "any";
|
|
197
417
|
readonly readable: true;
|
|
198
418
|
readonly writeable: true;
|
|
199
|
-
}
|
|
200
|
-
|
|
419
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
420
|
+
readonly type: "any";
|
|
421
|
+
readonly readable: true;
|
|
422
|
+
readonly writeable: true;
|
|
423
|
+
}>, ("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<{
|
|
424
|
+
readonly type: "any";
|
|
425
|
+
readonly readable: true;
|
|
426
|
+
readonly writeable: true;
|
|
427
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
428
|
+
readonly type: "any";
|
|
429
|
+
readonly readable: true;
|
|
430
|
+
readonly writeable: true;
|
|
431
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
|
|
432
|
+
readonly type: "any";
|
|
433
|
+
readonly readable: true;
|
|
434
|
+
readonly writeable: true;
|
|
435
|
+
}> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
|
|
436
|
+
readonly type: "any";
|
|
437
|
+
readonly readable: true;
|
|
438
|
+
readonly writeable: true;
|
|
439
|
+
}>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
|
|
440
|
+
readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
441
|
+
readonly internal: false;
|
|
442
|
+
readonly minVersion: 1;
|
|
443
|
+
readonly secret: false;
|
|
201
444
|
readonly stateful: true;
|
|
445
|
+
readonly supportsEndpoints: true;
|
|
446
|
+
readonly autoCreate: true;
|
|
447
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
448
|
+
readonly internal: false;
|
|
449
|
+
readonly minVersion: 1;
|
|
202
450
|
readonly secret: false;
|
|
451
|
+
readonly stateful: true;
|
|
452
|
+
readonly supportsEndpoints: true;
|
|
453
|
+
readonly autoCreate: true;
|
|
454
|
+
}, ("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"]> ? {
|
|
455
|
+
readonly internal: false;
|
|
203
456
|
readonly minVersion: 1;
|
|
457
|
+
readonly secret: false;
|
|
458
|
+
readonly stateful: true;
|
|
204
459
|
readonly supportsEndpoints: true;
|
|
205
460
|
readonly autoCreate: true;
|
|
206
|
-
|
|
207
|
-
|
|
461
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
462
|
+
readonly internal: false;
|
|
463
|
+
readonly minVersion: 1;
|
|
464
|
+
readonly secret: false;
|
|
465
|
+
readonly stateful: true;
|
|
466
|
+
readonly supportsEndpoints: true;
|
|
467
|
+
readonly autoCreate: true;
|
|
468
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
|
|
469
|
+
readonly internal: false;
|
|
470
|
+
readonly minVersion: 1;
|
|
471
|
+
readonly secret: false;
|
|
472
|
+
readonly stateful: true;
|
|
473
|
+
readonly supportsEndpoints: true;
|
|
474
|
+
readonly autoCreate: true;
|
|
475
|
+
} : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
|
|
476
|
+
readonly internal: false;
|
|
477
|
+
readonly minVersion: 1;
|
|
478
|
+
readonly secret: false;
|
|
479
|
+
readonly stateful: true;
|
|
480
|
+
readonly supportsEndpoints: true;
|
|
481
|
+
readonly autoCreate: true;
|
|
482
|
+
}, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
|
|
208
483
|
};
|
|
209
484
|
}>;
|
|
210
485
|
export declare function isAccumulatedValue(meterType: number, scale: number): boolean;
|
|
@@ -265,7 +540,7 @@ export declare class MeterCCReport extends MeterCC {
|
|
|
265
540
|
previousValue: MaybeNotKnown<number>;
|
|
266
541
|
rateType: RateType;
|
|
267
542
|
deltaTime: MaybeUnknown<number>;
|
|
268
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
543
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
269
544
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
270
545
|
}
|
|
271
546
|
export interface MeterCCGetOptions {
|
|
@@ -277,7 +552,7 @@ export declare class MeterCCGet extends MeterCC {
|
|
|
277
552
|
static from(raw: CCRaw, ctx: CCParsingContext): MeterCCGet;
|
|
278
553
|
rateType: RateType | undefined;
|
|
279
554
|
scale: number | undefined;
|
|
280
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
555
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
281
556
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
282
557
|
}
|
|
283
558
|
export interface MeterCCSupportedReportOptions {
|
|
@@ -294,7 +569,7 @@ export declare class MeterCCSupportedReport extends MeterCC {
|
|
|
294
569
|
readonly supportedScales: readonly number[];
|
|
295
570
|
readonly supportedRateTypes: readonly RateType[];
|
|
296
571
|
persistValues(ctx: PersistValuesContext): boolean;
|
|
297
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
572
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
298
573
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
299
574
|
}
|
|
300
575
|
export declare class MeterCCSupportedGet extends MeterCC {
|
|
@@ -312,7 +587,7 @@ export declare class MeterCCReset extends MeterCC {
|
|
|
312
587
|
scale: number | undefined;
|
|
313
588
|
rateType: RateType | undefined;
|
|
314
589
|
targetValue: number | undefined;
|
|
315
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
590
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
316
591
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
317
592
|
}
|
|
318
593
|
//# sourceMappingURL=MeterCC.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeterCC.d.ts","sourceRoot":"","sources":["../../../src/cc/MeterC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C;IACzB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC,SAAS,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAAC,KAAK,CAAC;IA0BjD,UAAU,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,mBAAmB;CAoBxD"}
|
package/build/esm/cc/MeterCC.js
CHANGED
|
@@ -768,7 +768,6 @@ let MeterCCReport = (() => {
|
|
|
768
768
|
Bytes.from([scale2]),
|
|
769
769
|
]);
|
|
770
770
|
}
|
|
771
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
772
771
|
return super.serialize(ctx);
|
|
773
772
|
}
|
|
774
773
|
toLogEntry(ctx) {
|
|
@@ -873,7 +872,6 @@ let MeterCCGet = (() => {
|
|
|
873
872
|
this.payload[0] = (rateTypeFlags << 6) | (scale1 << 3);
|
|
874
873
|
if (scale2)
|
|
875
874
|
this.payload[1] = scale2;
|
|
876
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
877
875
|
return super.serialize(ctx);
|
|
878
876
|
}
|
|
879
877
|
toLogEntry(ctx) {
|
|
@@ -1014,7 +1012,6 @@ let MeterCCSupportedReport = (() => {
|
|
|
1014
1012
|
Bytes.from(supportedScales.subarray(1)),
|
|
1015
1013
|
]);
|
|
1016
1014
|
}
|
|
1017
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
1018
1015
|
return super.serialize(ctx);
|
|
1019
1016
|
}
|
|
1020
1017
|
toLogEntry(ctx) {
|
|
@@ -1113,7 +1110,6 @@ let MeterCCReset = (() => {
|
|
|
1113
1110
|
]);
|
|
1114
1111
|
}
|
|
1115
1112
|
}
|
|
1116
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
1117
1113
|
return super.serialize(ctx);
|
|
1118
1114
|
}
|
|
1119
1115
|
toLogEntry(ctx) {
|