@zwave-js/cc 14.3.10 → 15.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/cc/AlarmSensorCC.d.ts +68 -68
- package/build/cjs/cc/AlarmSensorCC.js +12 -50
- package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
- package/build/cjs/cc/AssociationCC.d.ts +72 -73
- package/build/cjs/cc/AssociationCC.js +9 -26
- package/build/cjs/cc/AssociationCC.js.map +2 -2
- package/build/cjs/cc/AssociationGroupInfoCC.d.ts +71 -71
- package/build/cjs/cc/AssociationGroupInfoCC.js +11 -22
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
- package/build/cjs/cc/BarrierOperatorCC.d.ts +66 -72
- package/build/cjs/cc/BarrierOperatorCC.js +12 -44
- package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
- package/build/cjs/cc/BasicCC.d.ts +64 -65
- package/build/cjs/cc/BasicCC.js +15 -46
- package/build/cjs/cc/BasicCC.js.map +2 -2
- package/build/cjs/cc/BatteryCC.d.ts +162 -165
- package/build/cjs/cc/BatteryCC.js +7 -84
- package/build/cjs/cc/BatteryCC.js.map +2 -2
- package/build/cjs/cc/BinarySensorCC.d.ts +36 -36
- package/build/cjs/cc/BinarySensorCC.js +9 -29
- package/build/cjs/cc/BinarySensorCC.js.map +2 -2
- package/build/cjs/cc/BinarySwitchCC.d.ts +34 -34
- package/build/cjs/cc/BinarySwitchCC.js +6 -22
- package/build/cjs/cc/BinarySwitchCC.js.map +2 -2
- package/build/cjs/cc/CRC16CC.d.ts +4 -8
- package/build/cjs/cc/CRC16CC.js +4 -27
- package/build/cjs/cc/CRC16CC.js.map +2 -2
- package/build/cjs/cc/CentralSceneCC.d.ts +74 -74
- package/build/cjs/cc/CentralSceneCC.js +7 -30
- package/build/cjs/cc/CentralSceneCC.js.map +2 -2
- package/build/cjs/cc/ClimateControlScheduleCC.d.ts +38 -40
- package/build/cjs/cc/ClimateControlScheduleCC.js +5 -24
- package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
- package/build/cjs/cc/ClockCC.d.ts +3 -3
- package/build/cjs/cc/ClockCC.js.map +2 -2
- package/build/cjs/cc/ColorSwitchCC.d.ts +117 -117
- package/build/cjs/cc/ColorSwitchCC.js +23 -75
- package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
- package/build/cjs/cc/ConfigurationCC._validateArgs.js +1 -1
- package/build/cjs/cc/ConfigurationCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/ConfigurationCC.d.ts +48 -52
- package/build/cjs/cc/ConfigurationCC.js +11 -39
- package/build/cjs/cc/ConfigurationCC.js.map +2 -2
- package/build/cjs/cc/DeviceResetLocallyCC.d.ts +1 -1
- package/build/cjs/cc/DeviceResetLocallyCC.js.map +2 -2
- package/build/cjs/cc/DoorLockCC._validateArgs.js +1 -1
- package/build/cjs/cc/DoorLockCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/DoorLockCC.d.ts +362 -361
- package/build/cjs/cc/DoorLockCC.js +51 -156
- package/build/cjs/cc/DoorLockCC.js.map +2 -2
- package/build/cjs/cc/DoorLockLoggingCC.d.ts +14 -14
- package/build/cjs/cc/DoorLockLoggingCC.js +4 -8
- package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
- package/build/cjs/cc/EnergyProductionCC.d.ts +16 -16
- package/build/cjs/cc/EnergyProductionCC.js +5 -17
- package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
- package/build/cjs/cc/EntryControlCC.d.ts +71 -71
- package/build/cjs/cc/EntryControlCC.js +9 -36
- package/build/cjs/cc/EntryControlCC.js.map +2 -2
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js +26 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +101 -88
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +159 -34
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlModeCC.d.ts +31 -33
- package/build/cjs/cc/HumidityControlModeCC.js +6 -15
- package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +9 -11
- package/build/cjs/cc/HumidityControlOperatingStateCC.js +4 -12
- package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/HumidityControlSetpointCC.d.ts +50 -50
- package/build/cjs/cc/HumidityControlSetpointCC.js +10 -28
- package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
- package/build/cjs/cc/InclusionControllerCC.d.ts +4 -4
- package/build/cjs/cc/InclusionControllerCC.js.map +2 -2
- package/build/cjs/cc/IndicatorCC.d.ts +119 -119
- package/build/cjs/cc/IndicatorCC.js +15 -61
- package/build/cjs/cc/IndicatorCC.js.map +2 -2
- package/build/cjs/cc/IrrigationCC.d.ts +581 -585
- package/build/cjs/cc/IrrigationCC.js +29 -233
- package/build/cjs/cc/IrrigationCC.js.map +2 -2
- package/build/cjs/cc/LanguageCC.d.ts +21 -21
- package/build/cjs/cc/LanguageCC.js +4 -15
- package/build/cjs/cc/LanguageCC.js.map +2 -2
- package/build/cjs/cc/LockCC.d.ts +9 -9
- package/build/cjs/cc/LockCC.js +4 -12
- package/build/cjs/cc/LockCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.d.ts +2 -2
- package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
- package/build/cjs/cc/ManufacturerSpecificCC.d.ts +67 -67
- package/build/cjs/cc/ManufacturerSpecificCC.js +5 -26
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
- package/build/cjs/cc/MeterCC.d.ts +120 -119
- package/build/cjs/cc/MeterCC.js +25 -69
- package/build/cjs/cc/MeterCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelAssociationCC.d.ts +71 -73
- package/build/cjs/cc/MultiChannelAssociationCC.js +10 -28
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
- package/build/cjs/cc/MultiChannelCC.d.ts +136 -146
- package/build/cjs/cc/MultiChannelCC.js +26 -118
- package/build/cjs/cc/MultiChannelCC.js.map +2 -2
- package/build/cjs/cc/MultiCommandCC.d.ts +4 -8
- package/build/cjs/cc/MultiCommandCC.js +4 -37
- package/build/cjs/cc/MultiCommandCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSensorCC.d.ts +50 -49
- package/build/cjs/cc/MultilevelSensorCC.js +12 -33
- package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +146 -146
- package/build/cjs/cc/MultilevelSwitchCC.js +13 -107
- package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
- package/build/cjs/cc/NodeNamingCC.d.ts +30 -30
- package/build/cjs/cc/NodeNamingCC.js +5 -16
- package/build/cjs/cc/NodeNamingCC.js.map +2 -2
- package/build/cjs/cc/NotificationCC.d.ts +210 -208
- package/build/cjs/cc/NotificationCC.js +41 -113
- package/build/cjs/cc/NotificationCC.js.map +2 -2
- package/build/cjs/cc/PowerlevelCC.d.ts +6 -6
- package/build/cjs/cc/PowerlevelCC.js.map +2 -2
- package/build/cjs/cc/ProtectionCC.d.ts +117 -121
- package/build/cjs/cc/ProtectionCC.js +15 -50
- package/build/cjs/cc/ProtectionCC.js.map +2 -2
- package/build/cjs/cc/SceneActivationCC.d.ts +29 -29
- package/build/cjs/cc/SceneActivationCC.js +4 -17
- package/build/cjs/cc/SceneActivationCC.js.map +2 -2
- package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +35 -35
- package/build/cjs/cc/SceneActuatorConfigurationCC.js +9 -21
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
- package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +36 -35
- package/build/cjs/cc/SceneControllerConfigurationCC.js +10 -22
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
- package/build/cjs/cc/ScheduleEntryLockCC.d.ts +109 -109
- package/build/cjs/cc/ScheduleEntryLockCC.js +13 -30
- package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
- package/build/cjs/cc/Security2CC.d.ts +15 -21
- package/build/cjs/cc/Security2CC.js +32 -347
- package/build/cjs/cc/Security2CC.js.map +3 -3
- package/build/cjs/cc/SecurityCC.d.ts +12 -19
- package/build/cjs/cc/SecurityCC.js +12 -106
- package/build/cjs/cc/SecurityCC.js.map +2 -2
- package/build/cjs/cc/SoundSwitchCC.d.ts +58 -58
- package/build/cjs/cc/SoundSwitchCC.js +11 -43
- package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
- package/build/cjs/cc/SupervisionCC.d.ts +21 -25
- package/build/cjs/cc/SupervisionCC.js +8 -38
- package/build/cjs/cc/SupervisionCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanModeCC.d.ts +37 -39
- package/build/cjs/cc/ThermostatFanModeCC.js +8 -21
- package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatFanStateCC.d.ts +9 -11
- package/build/cjs/cc/ThermostatFanStateCC.js +4 -12
- package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatModeCC.d.ts +39 -41
- package/build/cjs/cc/ThermostatModeCC.js +8 -21
- package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
- package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +9 -11
- package/build/cjs/cc/ThermostatOperatingStateCC.js +4 -12
- package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetbackCC.d.ts +4 -4
- package/build/cjs/cc/ThermostatSetbackCC.js.map +2 -2
- package/build/cjs/cc/ThermostatSetpointCC.d.ts +51 -51
- package/build/cjs/cc/ThermostatSetpointCC.js +10 -25
- package/build/cjs/cc/ThermostatSetpointCC.js.map +2 -2
- package/build/cjs/cc/TimeCC.d.ts +6 -6
- package/build/cjs/cc/TimeCC.js.map +2 -2
- package/build/cjs/cc/TimeParametersCC.d.ts +9 -9
- package/build/cjs/cc/TimeParametersCC.js +4 -11
- package/build/cjs/cc/TimeParametersCC.js.map +2 -2
- package/build/cjs/cc/TransportServiceCC.d.ts +7 -12
- package/build/cjs/cc/TransportServiceCC.js +3 -20
- package/build/cjs/cc/TransportServiceCC.js.map +2 -2
- package/build/cjs/cc/UserCodeCC._validateArgs.js +1 -1
- package/build/cjs/cc/UserCodeCC._validateArgs.js.map +1 -1
- package/build/cjs/cc/UserCodeCC.d.ts +236 -236
- package/build/cjs/cc/UserCodeCC.js +33 -98
- package/build/cjs/cc/UserCodeCC.js.map +2 -2
- package/build/cjs/cc/VersionCC.d.ts +210 -212
- package/build/cjs/cc/VersionCC.js +7 -98
- package/build/cjs/cc/VersionCC.js.map +2 -2
- package/build/cjs/cc/WakeUpCC.d.ts +44 -44
- package/build/cjs/cc/WakeUpCC.js +6 -26
- package/build/cjs/cc/WakeUpCC.js.map +2 -2
- package/build/cjs/cc/WindowCoveringCC.d.ts +118 -122
- package/build/cjs/cc/WindowCoveringCC.js +16 -128
- package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
- package/build/cjs/cc/ZWavePlusCC.d.ts +74 -74
- package/build/cjs/cc/ZWavePlusCC.js +4 -25
- package/build/cjs/cc/ZWavePlusCC.js.map +2 -2
- package/build/cjs/cc/ZWaveProtocolCC.d.ts +28 -28
- package/build/cjs/cc/ZWaveProtocolCC.js.map +2 -2
- package/build/cjs/cc/_CCValues.generated.d.ts +15814 -0
- package/build/cjs/cc/_CCValues.generated.js +8723 -0
- package/build/cjs/cc/_CCValues.generated.js.map +7 -0
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.js.map +2 -2
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index_browser.d.ts +9 -0
- package/build/cjs/index_browser.js +41 -1
- package/build/cjs/index_browser.js.map +2 -2
- package/build/cjs/lib/API.d.ts +7 -5
- package/build/cjs/lib/API.js +1 -1
- package/build/cjs/lib/API.js.map +2 -2
- package/build/cjs/lib/CCValueUtils.d.ts +14 -0
- package/build/cjs/lib/CCValueUtils.js +93 -0
- package/build/cjs/lib/CCValueUtils.js.map +7 -0
- package/build/cjs/lib/CommandClass.d.ts +10 -21
- package/build/cjs/lib/CommandClass.js +51 -106
- package/build/cjs/lib/CommandClass.js.map +3 -3
- package/build/cjs/lib/CommandClassDecorators.d.ts +1 -1
- package/build/cjs/lib/CommandClassDecorators.js +3 -3
- package/build/cjs/lib/CommandClassDecorators.js.map +2 -2
- package/build/cjs/lib/Values.d.ts +7 -106
- package/build/cjs/lib/Values.js +13 -107
- package/build/cjs/lib/Values.js.map +3 -3
- package/build/cjs/lib/traits.d.ts +94 -0
- package/build/cjs/lib/traits.js +17 -0
- package/build/cjs/lib/traits.js.map +7 -0
- package/build/cjs/lib/utils.d.ts +2 -2
- package/build/cjs/lib/utils.js.map +2 -2
- package/build/esm/cc/AlarmSensorCC.d.ts +68 -68
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
- package/build/esm/cc/AlarmSensorCC.js +2 -40
- package/build/esm/cc/AlarmSensorCC.js.map +1 -1
- package/build/esm/cc/AssociationCC.d.ts +72 -73
- package/build/esm/cc/AssociationCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationCC.js +2 -27
- package/build/esm/cc/AssociationCC.js.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.d.ts +71 -71
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/esm/cc/AssociationGroupInfoCC.js +2 -19
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.d.ts +66 -72
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
- package/build/esm/cc/BarrierOperatorCC.js +2 -37
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
- package/build/esm/cc/BasicCC.d.ts +64 -65
- package/build/esm/cc/BasicCC.d.ts.map +1 -1
- package/build/esm/cc/BasicCC.js +2 -34
- package/build/esm/cc/BasicCC.js.map +1 -1
- package/build/esm/cc/BatteryCC.d.ts +162 -165
- package/build/esm/cc/BatteryCC.d.ts.map +1 -1
- package/build/esm/cc/BatteryCC.js +3 -80
- package/build/esm/cc/BatteryCC.js.map +1 -1
- package/build/esm/cc/BinarySensorCC.d.ts +36 -36
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySensorCC.js +2 -19
- package/build/esm/cc/BinarySensorCC.js.map +1 -1
- package/build/esm/cc/BinarySwitchCC.d.ts +34 -34
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
- package/build/esm/cc/BinarySwitchCC.js +2 -19
- package/build/esm/cc/BinarySwitchCC.js.map +1 -1
- package/build/esm/cc/CRC16CC.d.ts +4 -8
- package/build/esm/cc/CRC16CC.d.ts.map +1 -1
- package/build/esm/cc/CRC16CC.js +4 -34
- package/build/esm/cc/CRC16CC.js.map +1 -1
- package/build/esm/cc/CentralSceneCC.d.ts +74 -74
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
- package/build/esm/cc/CentralSceneCC.js +2 -27
- package/build/esm/cc/CentralSceneCC.js.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.d.ts +38 -40
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/esm/cc/ClimateControlScheduleCC.js +2 -26
- package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
- package/build/esm/cc/ClockCC.d.ts +3 -3
- package/build/esm/cc/ClockCC.d.ts.map +1 -1
- package/build/esm/cc/ClockCC.js +0 -1
- package/build/esm/cc/ClockCC.js.map +1 -1
- package/build/esm/cc/ColorSwitchCC.d.ts +117 -117
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/ColorSwitchCC.js +2 -58
- package/build/esm/cc/ColorSwitchCC.js.map +1 -1
- package/build/esm/cc/ConfigurationCC._validateArgs.js +1 -1
- package/build/esm/cc/ConfigurationCC._validateArgs.js.map +1 -1
- package/build/esm/cc/ConfigurationCC.d.ts +48 -52
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/ConfigurationCC.js +2 -40
- package/build/esm/cc/ConfigurationCC.js.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.d.ts +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -1
- package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -1
- package/build/esm/cc/DoorLockCC._validateArgs.js +1 -1
- package/build/esm/cc/DoorLockCC._validateArgs.js.map +1 -1
- package/build/esm/cc/DoorLockCC.d.ts +362 -361
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockCC.js +9 -129
- package/build/esm/cc/DoorLockCC.js.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.d.ts +14 -14
- package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
- package/build/esm/cc/DoorLockLoggingCC.js +2 -6
- package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
- package/build/esm/cc/EnergyProductionCC.d.ts +16 -16
- package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
- package/build/esm/cc/EnergyProductionCC.js +2 -15
- package/build/esm/cc/EnergyProductionCC.js.map +1 -1
- package/build/esm/cc/EntryControlCC.d.ts +71 -71
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
- package/build/esm/cc/EntryControlCC.js +2 -29
- package/build/esm/cc/EntryControlCC.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js +20 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +101 -88
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +160 -53
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.d.ts +31 -33
- package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlModeCC.js +2 -11
- package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +9 -11
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlOperatingStateCC.js +2 -9
- package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.d.ts +50 -50
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/HumidityControlSetpointCC.js +2 -23
- package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
- package/build/esm/cc/InclusionControllerCC.d.ts +4 -4
- package/build/esm/cc/InclusionControllerCC.d.ts.map +1 -1
- package/build/esm/cc/InclusionControllerCC.js +0 -2
- package/build/esm/cc/InclusionControllerCC.js.map +1 -1
- package/build/esm/cc/IndicatorCC.d.ts +119 -119
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
- package/build/esm/cc/IndicatorCC.js +2 -50
- package/build/esm/cc/IndicatorCC.js.map +1 -1
- package/build/esm/cc/IrrigationCC.d.ts +581 -585
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
- package/build/esm/cc/IrrigationCC.js +3 -231
- package/build/esm/cc/IrrigationCC.js.map +1 -1
- package/build/esm/cc/LanguageCC.d.ts +21 -21
- package/build/esm/cc/LanguageCC.d.ts.map +1 -1
- package/build/esm/cc/LanguageCC.js +2 -13
- package/build/esm/cc/LanguageCC.js.map +1 -1
- package/build/esm/cc/LockCC.d.ts +9 -9
- package/build/esm/cc/LockCC.d.ts.map +1 -1
- package/build/esm/cc/LockCC.js +2 -10
- package/build/esm/cc/LockCC.js.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts +2 -2
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerProprietaryCC.js +0 -2
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +67 -67
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/esm/cc/ManufacturerSpecificCC.js +2 -26
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
- package/build/esm/cc/MeterCC.d.ts +120 -119
- package/build/esm/cc/MeterCC.d.ts.map +1 -1
- package/build/esm/cc/MeterCC.js +3 -53
- package/build/esm/cc/MeterCC.js.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.d.ts +71 -73
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelAssociationCC.js +2 -30
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
- package/build/esm/cc/MultiChannelCC.d.ts +136 -146
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
- package/build/esm/cc/MultiChannelCC.js +10 -131
- package/build/esm/cc/MultiChannelCC.js.map +1 -1
- package/build/esm/cc/MultiCommandCC.d.ts +4 -8
- package/build/esm/cc/MultiCommandCC.d.ts.map +1 -1
- package/build/esm/cc/MultiCommandCC.js +4 -38
- package/build/esm/cc/MultiCommandCC.js.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.d.ts +50 -49
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSensorCC.js +2 -27
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.d.ts +146 -146
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/MultilevelSwitchCC.js +5 -105
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
- package/build/esm/cc/NodeNamingCC.d.ts +30 -30
- package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
- package/build/esm/cc/NodeNamingCC.js +2 -14
- package/build/esm/cc/NodeNamingCC.js.map +1 -1
- package/build/esm/cc/NotificationCC.d.ts +210 -208
- package/build/esm/cc/NotificationCC.d.ts.map +1 -1
- package/build/esm/cc/NotificationCC.js +21 -97
- package/build/esm/cc/NotificationCC.js.map +1 -1
- package/build/esm/cc/PowerlevelCC.d.ts +6 -6
- package/build/esm/cc/PowerlevelCC.d.ts.map +1 -1
- package/build/esm/cc/PowerlevelCC.js +0 -4
- package/build/esm/cc/PowerlevelCC.js.map +1 -1
- package/build/esm/cc/ProtectionCC.d.ts +117 -121
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
- package/build/esm/cc/ProtectionCC.js +2 -39
- package/build/esm/cc/ProtectionCC.js.map +1 -1
- package/build/esm/cc/SceneActivationCC.d.ts +29 -29
- package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActivationCC.js +2 -15
- package/build/esm/cc/SceneActivationCC.js.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +35 -35
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneActuatorConfigurationCC.js +2 -16
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts +36 -35
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/esm/cc/SceneControllerConfigurationCC.js +2 -16
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.d.ts +109 -109
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
- package/build/esm/cc/ScheduleEntryLockCC.js +2 -31
- package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
- package/build/esm/cc/Security2CC.d.ts +15 -21
- package/build/esm/cc/Security2CC.d.ts.map +1 -1
- package/build/esm/cc/Security2CC.js +27 -475
- package/build/esm/cc/Security2CC.js.map +1 -1
- package/build/esm/cc/SecurityCC.d.ts +12 -19
- package/build/esm/cc/SecurityCC.d.ts.map +1 -1
- package/build/esm/cc/SecurityCC.js +13 -138
- package/build/esm/cc/SecurityCC.js.map +1 -1
- package/build/esm/cc/SoundSwitchCC.d.ts +58 -58
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
- package/build/esm/cc/SoundSwitchCC.js +2 -40
- package/build/esm/cc/SoundSwitchCC.js.map +1 -1
- package/build/esm/cc/SupervisionCC.d.ts +21 -25
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
- package/build/esm/cc/SupervisionCC.js +6 -41
- package/build/esm/cc/SupervisionCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.d.ts +37 -39
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanModeCC.js +2 -15
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.d.ts +9 -11
- package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatFanStateCC.js +2 -9
- package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatModeCC.d.ts +39 -41
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatModeCC.js +2 -17
- package/build/esm/cc/ThermostatModeCC.js.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts +9 -11
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatOperatingStateCC.js +2 -9
- package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
- package/build/esm/cc/ThermostatSetbackCC.d.ts +4 -4
- package/build/esm/cc/ThermostatSetbackCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetbackCC.js +0 -2
- package/build/esm/cc/ThermostatSetbackCC.js.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.d.ts +51 -51
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/esm/cc/ThermostatSetpointCC.js +2 -22
- package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
- package/build/esm/cc/TimeCC.d.ts +6 -6
- package/build/esm/cc/TimeCC.d.ts.map +1 -1
- package/build/esm/cc/TimeCC.js +0 -4
- package/build/esm/cc/TimeCC.js.map +1 -1
- package/build/esm/cc/TimeParametersCC.d.ts +9 -9
- package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
- package/build/esm/cc/TimeParametersCC.js +2 -9
- package/build/esm/cc/TimeParametersCC.js.map +1 -1
- package/build/esm/cc/TransportServiceCC.d.ts +7 -12
- package/build/esm/cc/TransportServiceCC.d.ts.map +1 -1
- package/build/esm/cc/TransportServiceCC.js +5 -38
- package/build/esm/cc/TransportServiceCC.js.map +1 -1
- package/build/esm/cc/UserCodeCC._validateArgs.js +1 -1
- package/build/esm/cc/UserCodeCC._validateArgs.js.map +1 -1
- package/build/esm/cc/UserCodeCC.d.ts +236 -236
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
- package/build/esm/cc/UserCodeCC.js +2 -72
- package/build/esm/cc/UserCodeCC.js.map +1 -1
- package/build/esm/cc/VersionCC.d.ts +210 -212
- package/build/esm/cc/VersionCC.d.ts.map +1 -1
- package/build/esm/cc/VersionCC.js +2 -96
- package/build/esm/cc/VersionCC.js.map +1 -1
- package/build/esm/cc/WakeUpCC.d.ts +44 -44
- package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
- package/build/esm/cc/WakeUpCC.js +2 -22
- package/build/esm/cc/WakeUpCC.js.map +1 -1
- package/build/esm/cc/WindowCoveringCC.d.ts +118 -122
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
- package/build/esm/cc/WindowCoveringCC.js +3 -108
- package/build/esm/cc/WindowCoveringCC.js.map +1 -1
- package/build/esm/cc/ZWavePlusCC.d.ts +74 -74
- package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
- package/build/esm/cc/ZWavePlusCC.js +2 -26
- package/build/esm/cc/ZWavePlusCC.js.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.d.ts +28 -28
- package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -1
- package/build/esm/cc/ZWaveProtocolCC.js +0 -27
- package/build/esm/cc/ZWaveProtocolCC.js.map +1 -1
- package/build/esm/cc/_CCValues.generated.d.ts +15814 -0
- package/build/esm/cc/_CCValues.generated.d.ts.map +1 -0
- package/build/esm/cc/_CCValues.generated.js +9187 -0
- package/build/esm/cc/_CCValues.generated.js.map +1 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -1
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js +0 -3
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js.map +1 -1
- package/build/esm/index.d.ts +1 -0
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index_browser.d.ts +9 -0
- package/build/esm/index_browser.d.ts.map +1 -1
- package/build/esm/index_browser.js +8 -1
- package/build/esm/index_browser.js.map +1 -1
- package/build/esm/lib/API.d.ts +7 -5
- package/build/esm/lib/API.d.ts.map +1 -1
- package/build/esm/lib/API.js +1 -1
- package/build/esm/lib/API.js.map +1 -1
- package/build/esm/lib/CCValueUtils.d.ts +14 -0
- package/build/esm/lib/CCValueUtils.d.ts.map +1 -0
- package/build/esm/lib/CCValueUtils.js +62 -0
- package/build/esm/lib/CCValueUtils.js.map +1 -0
- package/build/esm/lib/CommandClass.d.ts +10 -21
- package/build/esm/lib/CommandClass.d.ts.map +1 -1
- package/build/esm/lib/CommandClass.js +8 -101
- package/build/esm/lib/CommandClass.js.map +1 -1
- package/build/esm/lib/CommandClassDecorators.d.ts +1 -1
- package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -1
- package/build/esm/lib/CommandClassDecorators.js +1 -1
- package/build/esm/lib/CommandClassDecorators.js.map +1 -1
- package/build/esm/lib/Values.d.ts +7 -106
- package/build/esm/lib/Values.d.ts.map +1 -1
- package/build/esm/lib/Values.js +7 -104
- package/build/esm/lib/Values.js.map +1 -1
- package/build/esm/lib/traits.d.ts +94 -0
- package/build/esm/lib/traits.d.ts.map +1 -0
- package/build/esm/lib/traits.js +2 -0
- package/build/esm/lib/traits.js.map +1 -0
- package/build/esm/lib/utils.d.ts +2 -2
- package/build/esm/lib/utils.d.ts.map +1 -1
- package/build/esm/lib/utils.js.map +1 -1
- package/package.json +16 -14
|
@@ -1,337 +1,334 @@
|
|
|
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
5
|
import { CommandClasses, type MaybeNotKnown } from "@zwave-js/core/safe";
|
|
4
|
-
import type { CCEncodingContext, CCParsingContext, GetDeviceConfig, GetNode, GetSupportedCCVersion, GetValueDB } from "@zwave-js/host/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";
|
|
8
9
|
import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
|
|
9
10
|
import { BatteryChargingStatus, BatteryCommand, BatteryReplacementStatus } from "../lib/_Types.js";
|
|
10
11
|
export declare const BatteryCCValues: Readonly<{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
commandClass: CommandClasses.Battery;
|
|
14
|
-
property: "
|
|
12
|
+
level: {
|
|
13
|
+
id: {
|
|
14
|
+
readonly commandClass: CommandClasses.Battery;
|
|
15
|
+
readonly property: "level";
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
+
endpoint: (endpoint?: number) => {
|
|
17
18
|
readonly commandClass: CommandClasses.Battery;
|
|
18
19
|
readonly endpoint: number;
|
|
19
|
-
readonly property: "
|
|
20
|
+
readonly property: "level";
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
22
23
|
readonly meta: {
|
|
23
|
-
readonly
|
|
24
|
+
readonly max: 100;
|
|
25
|
+
readonly unit: "%";
|
|
26
|
+
readonly label: "Battery level";
|
|
24
27
|
readonly writeable: false;
|
|
25
|
-
readonly
|
|
28
|
+
readonly min: 0;
|
|
29
|
+
readonly type: "number";
|
|
26
30
|
readonly readable: true;
|
|
27
31
|
};
|
|
28
|
-
|
|
29
|
-
readonly stateful: true;
|
|
30
|
-
readonly secret: false;
|
|
32
|
+
options: {
|
|
31
33
|
readonly internal: false;
|
|
34
|
+
readonly minVersion: 1;
|
|
35
|
+
readonly secret: false;
|
|
36
|
+
readonly stateful: true;
|
|
32
37
|
readonly supportsEndpoints: true;
|
|
33
38
|
readonly autoCreate: true;
|
|
34
|
-
readonly minVersion: 3;
|
|
35
39
|
};
|
|
36
40
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
commandClass: CommandClasses.Battery;
|
|
40
|
-
property: "
|
|
41
|
+
isLow: {
|
|
42
|
+
id: {
|
|
43
|
+
readonly commandClass: CommandClasses.Battery;
|
|
44
|
+
readonly property: "isLow";
|
|
41
45
|
};
|
|
42
|
-
|
|
46
|
+
endpoint: (endpoint?: number) => {
|
|
43
47
|
readonly commandClass: CommandClasses.Battery;
|
|
44
48
|
readonly endpoint: number;
|
|
45
|
-
readonly property: "
|
|
49
|
+
readonly property: "isLow";
|
|
46
50
|
};
|
|
47
|
-
|
|
51
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
48
52
|
readonly meta: {
|
|
49
|
-
readonly label: "
|
|
53
|
+
readonly label: "Low battery level";
|
|
50
54
|
readonly writeable: false;
|
|
51
55
|
readonly type: "boolean";
|
|
52
56
|
readonly readable: true;
|
|
53
57
|
};
|
|
54
|
-
|
|
55
|
-
readonly stateful: true;
|
|
56
|
-
readonly secret: false;
|
|
58
|
+
options: {
|
|
57
59
|
readonly internal: false;
|
|
60
|
+
readonly minVersion: 1;
|
|
61
|
+
readonly secret: false;
|
|
62
|
+
readonly stateful: true;
|
|
58
63
|
readonly supportsEndpoints: true;
|
|
59
64
|
readonly autoCreate: true;
|
|
60
|
-
readonly minVersion: 2;
|
|
61
65
|
};
|
|
62
66
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
commandClass: CommandClasses.Battery;
|
|
66
|
-
property: "
|
|
67
|
+
maximumCapacity: {
|
|
68
|
+
id: {
|
|
69
|
+
readonly commandClass: CommandClasses.Battery;
|
|
70
|
+
readonly property: "maximumCapacity";
|
|
67
71
|
};
|
|
68
|
-
|
|
72
|
+
endpoint: (endpoint?: number) => {
|
|
69
73
|
readonly commandClass: CommandClasses.Battery;
|
|
70
74
|
readonly endpoint: number;
|
|
71
|
-
readonly property: "
|
|
75
|
+
readonly property: "maximumCapacity";
|
|
72
76
|
};
|
|
73
|
-
|
|
77
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
74
78
|
readonly meta: {
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
|
|
78
|
-
};
|
|
79
|
+
readonly max: 100;
|
|
80
|
+
readonly unit: "%";
|
|
81
|
+
readonly label: "Maximum capacity";
|
|
79
82
|
readonly writeable: false;
|
|
80
83
|
readonly min: 0;
|
|
81
|
-
readonly max: 255;
|
|
82
84
|
readonly type: "number";
|
|
83
85
|
readonly readable: true;
|
|
84
86
|
};
|
|
85
|
-
|
|
86
|
-
readonly stateful: true;
|
|
87
|
-
readonly secret: false;
|
|
87
|
+
options: {
|
|
88
88
|
readonly internal: false;
|
|
89
|
+
readonly minVersion: 2;
|
|
90
|
+
readonly secret: false;
|
|
91
|
+
readonly stateful: true;
|
|
89
92
|
readonly supportsEndpoints: true;
|
|
90
93
|
readonly autoCreate: true;
|
|
91
|
-
readonly minVersion: 2;
|
|
92
94
|
};
|
|
93
95
|
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
commandClass: CommandClasses.Battery;
|
|
97
|
-
property: "
|
|
96
|
+
temperature: {
|
|
97
|
+
id: {
|
|
98
|
+
readonly commandClass: CommandClasses.Battery;
|
|
99
|
+
readonly property: "temperature";
|
|
98
100
|
};
|
|
99
|
-
|
|
101
|
+
endpoint: (endpoint?: number) => {
|
|
100
102
|
readonly commandClass: CommandClasses.Battery;
|
|
101
103
|
readonly endpoint: number;
|
|
102
|
-
readonly property: "
|
|
104
|
+
readonly property: "temperature";
|
|
103
105
|
};
|
|
104
|
-
|
|
106
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
105
107
|
readonly meta: {
|
|
106
|
-
readonly label: "
|
|
108
|
+
readonly label: "Temperature";
|
|
107
109
|
readonly writeable: false;
|
|
108
|
-
readonly
|
|
110
|
+
readonly min: -128;
|
|
111
|
+
readonly max: 127;
|
|
112
|
+
readonly type: "number";
|
|
109
113
|
readonly readable: true;
|
|
110
114
|
};
|
|
111
|
-
|
|
112
|
-
readonly stateful: true;
|
|
113
|
-
readonly secret: false;
|
|
115
|
+
options: {
|
|
114
116
|
readonly internal: false;
|
|
117
|
+
readonly minVersion: 2;
|
|
118
|
+
readonly secret: false;
|
|
119
|
+
readonly stateful: true;
|
|
115
120
|
readonly supportsEndpoints: true;
|
|
116
121
|
readonly autoCreate: true;
|
|
117
|
-
readonly minVersion: 2;
|
|
118
122
|
};
|
|
119
123
|
};
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
commandClass: CommandClasses.Battery;
|
|
123
|
-
property: "
|
|
124
|
+
chargingStatus: {
|
|
125
|
+
id: {
|
|
126
|
+
readonly commandClass: CommandClasses.Battery;
|
|
127
|
+
readonly property: "chargingStatus";
|
|
124
128
|
};
|
|
125
|
-
|
|
129
|
+
endpoint: (endpoint?: number) => {
|
|
126
130
|
readonly commandClass: CommandClasses.Battery;
|
|
127
131
|
readonly endpoint: number;
|
|
128
|
-
readonly property: "
|
|
132
|
+
readonly property: "chargingStatus";
|
|
129
133
|
};
|
|
130
|
-
|
|
134
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
131
135
|
readonly meta: {
|
|
132
|
-
readonly label: "
|
|
136
|
+
readonly label: "Charging status";
|
|
137
|
+
readonly states: Record<number, string>;
|
|
133
138
|
readonly writeable: false;
|
|
134
|
-
readonly
|
|
139
|
+
readonly min: 0;
|
|
140
|
+
readonly max: 255;
|
|
141
|
+
readonly type: "number";
|
|
135
142
|
readonly readable: true;
|
|
136
143
|
};
|
|
137
|
-
|
|
138
|
-
readonly stateful: true;
|
|
139
|
-
readonly secret: false;
|
|
144
|
+
options: {
|
|
140
145
|
readonly internal: false;
|
|
146
|
+
readonly minVersion: 2;
|
|
147
|
+
readonly secret: false;
|
|
148
|
+
readonly stateful: true;
|
|
141
149
|
readonly supportsEndpoints: true;
|
|
142
150
|
readonly autoCreate: true;
|
|
143
|
-
readonly minVersion: 2;
|
|
144
151
|
};
|
|
145
152
|
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
commandClass: CommandClasses.Battery;
|
|
149
|
-
property: "
|
|
153
|
+
rechargeable: {
|
|
154
|
+
id: {
|
|
155
|
+
readonly commandClass: CommandClasses.Battery;
|
|
156
|
+
readonly property: "rechargeable";
|
|
150
157
|
};
|
|
151
|
-
|
|
158
|
+
endpoint: (endpoint?: number) => {
|
|
152
159
|
readonly commandClass: CommandClasses.Battery;
|
|
153
160
|
readonly endpoint: number;
|
|
154
|
-
readonly property: "
|
|
161
|
+
readonly property: "rechargeable";
|
|
155
162
|
};
|
|
156
|
-
|
|
163
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
157
164
|
readonly meta: {
|
|
158
|
-
readonly label: "
|
|
165
|
+
readonly label: "Rechargeable";
|
|
159
166
|
readonly writeable: false;
|
|
160
167
|
readonly type: "boolean";
|
|
161
168
|
readonly readable: true;
|
|
162
169
|
};
|
|
163
|
-
|
|
164
|
-
readonly stateful: true;
|
|
165
|
-
readonly secret: false;
|
|
170
|
+
options: {
|
|
166
171
|
readonly internal: false;
|
|
172
|
+
readonly minVersion: 2;
|
|
173
|
+
readonly secret: false;
|
|
174
|
+
readonly stateful: true;
|
|
167
175
|
readonly supportsEndpoints: true;
|
|
168
176
|
readonly autoCreate: true;
|
|
169
|
-
readonly minVersion: 2;
|
|
170
177
|
};
|
|
171
178
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
commandClass: CommandClasses.Battery;
|
|
175
|
-
property: "
|
|
179
|
+
backup: {
|
|
180
|
+
id: {
|
|
181
|
+
readonly commandClass: CommandClasses.Battery;
|
|
182
|
+
readonly property: "backup";
|
|
176
183
|
};
|
|
177
|
-
|
|
184
|
+
endpoint: (endpoint?: number) => {
|
|
178
185
|
readonly commandClass: CommandClasses.Battery;
|
|
179
186
|
readonly endpoint: number;
|
|
180
|
-
readonly property: "
|
|
187
|
+
readonly property: "backup";
|
|
181
188
|
};
|
|
182
|
-
|
|
189
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
183
190
|
readonly meta: {
|
|
184
|
-
readonly label: "
|
|
191
|
+
readonly label: "Used as backup";
|
|
185
192
|
readonly writeable: false;
|
|
186
193
|
readonly type: "boolean";
|
|
187
194
|
readonly readable: true;
|
|
188
195
|
};
|
|
189
|
-
|
|
190
|
-
readonly stateful: true;
|
|
191
|
-
readonly secret: false;
|
|
196
|
+
options: {
|
|
192
197
|
readonly internal: false;
|
|
198
|
+
readonly minVersion: 2;
|
|
199
|
+
readonly secret: false;
|
|
200
|
+
readonly stateful: true;
|
|
193
201
|
readonly supportsEndpoints: true;
|
|
194
202
|
readonly autoCreate: true;
|
|
195
|
-
readonly minVersion: 2;
|
|
196
203
|
};
|
|
197
204
|
};
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
commandClass: CommandClasses.Battery;
|
|
201
|
-
property: "
|
|
205
|
+
overheating: {
|
|
206
|
+
id: {
|
|
207
|
+
readonly commandClass: CommandClasses.Battery;
|
|
208
|
+
readonly property: "overheating";
|
|
202
209
|
};
|
|
203
|
-
|
|
210
|
+
endpoint: (endpoint?: number) => {
|
|
204
211
|
readonly commandClass: CommandClasses.Battery;
|
|
205
212
|
readonly endpoint: number;
|
|
206
|
-
readonly property: "
|
|
213
|
+
readonly property: "overheating";
|
|
207
214
|
};
|
|
208
|
-
|
|
215
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
209
216
|
readonly meta: {
|
|
210
|
-
readonly label: "
|
|
211
|
-
readonly states: {
|
|
212
|
-
[x: number]: string;
|
|
213
|
-
};
|
|
217
|
+
readonly label: "Overheating";
|
|
214
218
|
readonly writeable: false;
|
|
215
|
-
readonly
|
|
216
|
-
readonly max: 255;
|
|
217
|
-
readonly type: "number";
|
|
219
|
+
readonly type: "boolean";
|
|
218
220
|
readonly readable: true;
|
|
219
221
|
};
|
|
220
|
-
|
|
221
|
-
readonly stateful: true;
|
|
222
|
-
readonly secret: false;
|
|
222
|
+
options: {
|
|
223
223
|
readonly internal: false;
|
|
224
|
+
readonly minVersion: 2;
|
|
225
|
+
readonly secret: false;
|
|
226
|
+
readonly stateful: true;
|
|
224
227
|
readonly supportsEndpoints: true;
|
|
225
228
|
readonly autoCreate: true;
|
|
226
|
-
readonly minVersion: 2;
|
|
227
229
|
};
|
|
228
230
|
};
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
commandClass: CommandClasses.Battery;
|
|
232
|
-
property: "
|
|
231
|
+
lowFluid: {
|
|
232
|
+
id: {
|
|
233
|
+
readonly commandClass: CommandClasses.Battery;
|
|
234
|
+
readonly property: "lowFluid";
|
|
233
235
|
};
|
|
234
|
-
|
|
236
|
+
endpoint: (endpoint?: number) => {
|
|
235
237
|
readonly commandClass: CommandClasses.Battery;
|
|
236
238
|
readonly endpoint: number;
|
|
237
|
-
readonly property: "
|
|
239
|
+
readonly property: "lowFluid";
|
|
238
240
|
};
|
|
239
|
-
|
|
241
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
240
242
|
readonly meta: {
|
|
241
|
-
readonly label: "
|
|
243
|
+
readonly label: "Fluid is low";
|
|
242
244
|
readonly writeable: false;
|
|
243
|
-
readonly
|
|
244
|
-
readonly max: 127;
|
|
245
|
-
readonly type: "number";
|
|
245
|
+
readonly type: "boolean";
|
|
246
246
|
readonly readable: true;
|
|
247
247
|
};
|
|
248
|
-
|
|
249
|
-
readonly stateful: true;
|
|
250
|
-
readonly secret: false;
|
|
248
|
+
options: {
|
|
251
249
|
readonly internal: false;
|
|
250
|
+
readonly minVersion: 2;
|
|
251
|
+
readonly secret: false;
|
|
252
|
+
readonly stateful: true;
|
|
252
253
|
readonly supportsEndpoints: true;
|
|
253
254
|
readonly autoCreate: true;
|
|
254
|
-
readonly minVersion: 2;
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
commandClass: CommandClasses.Battery;
|
|
260
|
-
property: "
|
|
257
|
+
rechargeOrReplace: {
|
|
258
|
+
id: {
|
|
259
|
+
readonly commandClass: CommandClasses.Battery;
|
|
260
|
+
readonly property: "rechargeOrReplace";
|
|
261
261
|
};
|
|
262
|
-
|
|
262
|
+
endpoint: (endpoint?: number) => {
|
|
263
263
|
readonly commandClass: CommandClasses.Battery;
|
|
264
264
|
readonly endpoint: number;
|
|
265
|
-
readonly property: "
|
|
265
|
+
readonly property: "rechargeOrReplace";
|
|
266
266
|
};
|
|
267
|
-
|
|
267
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
268
268
|
readonly meta: {
|
|
269
|
-
readonly
|
|
270
|
-
readonly
|
|
271
|
-
readonly label: "Maximum capacity";
|
|
269
|
+
readonly label: "Recharge or replace";
|
|
270
|
+
readonly states: Record<number, string>;
|
|
272
271
|
readonly writeable: false;
|
|
273
272
|
readonly min: 0;
|
|
273
|
+
readonly max: 255;
|
|
274
274
|
readonly type: "number";
|
|
275
275
|
readonly readable: true;
|
|
276
276
|
};
|
|
277
|
-
|
|
278
|
-
readonly stateful: true;
|
|
279
|
-
readonly secret: false;
|
|
277
|
+
options: {
|
|
280
278
|
readonly internal: false;
|
|
279
|
+
readonly minVersion: 2;
|
|
280
|
+
readonly secret: false;
|
|
281
|
+
readonly stateful: true;
|
|
281
282
|
readonly supportsEndpoints: true;
|
|
282
283
|
readonly autoCreate: true;
|
|
283
|
-
readonly minVersion: 2;
|
|
284
284
|
};
|
|
285
285
|
};
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
commandClass: CommandClasses.Battery;
|
|
289
|
-
property: "
|
|
286
|
+
disconnected: {
|
|
287
|
+
id: {
|
|
288
|
+
readonly commandClass: CommandClasses.Battery;
|
|
289
|
+
readonly property: "disconnected";
|
|
290
290
|
};
|
|
291
|
-
|
|
291
|
+
endpoint: (endpoint?: number) => {
|
|
292
292
|
readonly commandClass: CommandClasses.Battery;
|
|
293
293
|
readonly endpoint: number;
|
|
294
|
-
readonly property: "
|
|
294
|
+
readonly property: "disconnected";
|
|
295
295
|
};
|
|
296
|
-
|
|
296
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
297
297
|
readonly meta: {
|
|
298
|
-
readonly label: "
|
|
298
|
+
readonly label: "Battery is disconnected";
|
|
299
299
|
readonly writeable: false;
|
|
300
300
|
readonly type: "boolean";
|
|
301
301
|
readonly readable: true;
|
|
302
302
|
};
|
|
303
|
-
|
|
303
|
+
options: {
|
|
304
304
|
readonly internal: false;
|
|
305
|
-
readonly minVersion:
|
|
305
|
+
readonly minVersion: 2;
|
|
306
306
|
readonly secret: false;
|
|
307
307
|
readonly stateful: true;
|
|
308
308
|
readonly supportsEndpoints: true;
|
|
309
309
|
readonly autoCreate: true;
|
|
310
310
|
};
|
|
311
311
|
};
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
commandClass: CommandClasses.Battery;
|
|
315
|
-
property: "
|
|
312
|
+
lowTemperatureStatus: {
|
|
313
|
+
id: {
|
|
314
|
+
readonly commandClass: CommandClasses.Battery;
|
|
315
|
+
readonly property: "lowTemperatureStatus";
|
|
316
316
|
};
|
|
317
|
-
|
|
317
|
+
endpoint: (endpoint?: number) => {
|
|
318
318
|
readonly commandClass: CommandClasses.Battery;
|
|
319
319
|
readonly endpoint: number;
|
|
320
|
-
readonly property: "
|
|
320
|
+
readonly property: "lowTemperatureStatus";
|
|
321
321
|
};
|
|
322
|
-
|
|
322
|
+
is: (valueId: import("@zwave-js/core").ValueID) => boolean;
|
|
323
323
|
readonly meta: {
|
|
324
|
-
readonly
|
|
325
|
-
readonly unit: "%";
|
|
326
|
-
readonly label: "Battery level";
|
|
324
|
+
readonly label: "Battery temperature is low";
|
|
327
325
|
readonly writeable: false;
|
|
328
|
-
readonly
|
|
329
|
-
readonly type: "number";
|
|
326
|
+
readonly type: "boolean";
|
|
330
327
|
readonly readable: true;
|
|
331
328
|
};
|
|
332
|
-
|
|
329
|
+
options: {
|
|
333
330
|
readonly internal: false;
|
|
334
|
-
readonly minVersion:
|
|
331
|
+
readonly minVersion: 3;
|
|
335
332
|
readonly secret: false;
|
|
336
333
|
readonly stateful: true;
|
|
337
334
|
readonly supportsEndpoints: true;
|
|
@@ -382,7 +379,7 @@ export declare class BatteryCCReport extends BatteryCC {
|
|
|
382
379
|
readonly rechargeOrReplace: BatteryReplacementStatus | undefined;
|
|
383
380
|
readonly disconnected: boolean | undefined;
|
|
384
381
|
readonly lowTemperatureStatus: boolean | undefined;
|
|
385
|
-
serialize(ctx: CCEncodingContext): Bytes
|
|
382
|
+
serialize(ctx: CCEncodingContext): Promise<Bytes>;
|
|
386
383
|
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
387
384
|
}
|
|
388
385
|
export declare class BatteryCCGet extends BatteryCC {
|
|
@@ -25,7 +25,7 @@ __export(BatteryCC_exports, {
|
|
|
25
25
|
BatteryCCHealthGet: () => BatteryCCHealthGet,
|
|
26
26
|
BatteryCCHealthReport: () => BatteryCCHealthReport,
|
|
27
27
|
BatteryCCReport: () => BatteryCCReport,
|
|
28
|
-
BatteryCCValues: () => BatteryCCValues
|
|
28
|
+
BatteryCCValues: () => import_CCValues_generated.BatteryCCValues
|
|
29
29
|
});
|
|
30
30
|
module.exports = __toCommonJS(BatteryCC_exports);
|
|
31
31
|
var import_core = require("@zwave-js/core");
|
|
@@ -38,6 +38,7 @@ var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
|
|
|
38
38
|
var import_Values = require("../lib/Values.js");
|
|
39
39
|
var import_Types = require("../lib/_Types.js");
|
|
40
40
|
var import_NotificationCC = require("./NotificationCC.js");
|
|
41
|
+
var import_CCValues_generated = require("./_CCValues.generated.js");
|
|
41
42
|
var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
42
43
|
function accept(f) {
|
|
43
44
|
if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected");
|
|
@@ -78,84 +79,6 @@ var __runInitializers = function(thisArg, initializers, value) {
|
|
|
78
79
|
}
|
|
79
80
|
return useValue ? value : void 0;
|
|
80
81
|
};
|
|
81
|
-
const BatteryCCValues = Object.freeze({
|
|
82
|
-
...import_Values.V.defineStaticCCValues(import_safe.CommandClasses.Battery, {
|
|
83
|
-
...import_Values.V.staticProperty("level", {
|
|
84
|
-
...import_safe.ValueMetadata.ReadOnlyUInt8,
|
|
85
|
-
max: 100,
|
|
86
|
-
unit: "%",
|
|
87
|
-
label: "Battery level"
|
|
88
|
-
}),
|
|
89
|
-
...import_Values.V.staticProperty("isLow", {
|
|
90
|
-
...import_safe.ValueMetadata.ReadOnlyBoolean,
|
|
91
|
-
label: "Low battery level"
|
|
92
|
-
}),
|
|
93
|
-
...import_Values.V.staticProperty("maximumCapacity", {
|
|
94
|
-
...import_safe.ValueMetadata.ReadOnlyUInt8,
|
|
95
|
-
max: 100,
|
|
96
|
-
unit: "%",
|
|
97
|
-
label: "Maximum capacity"
|
|
98
|
-
}, {
|
|
99
|
-
minVersion: 2
|
|
100
|
-
}),
|
|
101
|
-
...import_Values.V.staticProperty("temperature", {
|
|
102
|
-
...import_safe.ValueMetadata.ReadOnlyInt8,
|
|
103
|
-
label: "Temperature"
|
|
104
|
-
}, {
|
|
105
|
-
minVersion: 2
|
|
106
|
-
}),
|
|
107
|
-
...import_Values.V.staticProperty("chargingStatus", {
|
|
108
|
-
...import_safe.ValueMetadata.ReadOnlyUInt8,
|
|
109
|
-
label: "Charging status",
|
|
110
|
-
states: (0, import_safe.enumValuesToMetadataStates)(import_Types.BatteryChargingStatus)
|
|
111
|
-
}, {
|
|
112
|
-
minVersion: 2
|
|
113
|
-
}),
|
|
114
|
-
...import_Values.V.staticProperty("rechargeable", {
|
|
115
|
-
...import_safe.ValueMetadata.ReadOnlyBoolean,
|
|
116
|
-
label: "Rechargeable"
|
|
117
|
-
}, {
|
|
118
|
-
minVersion: 2
|
|
119
|
-
}),
|
|
120
|
-
...import_Values.V.staticProperty("backup", {
|
|
121
|
-
...import_safe.ValueMetadata.ReadOnlyBoolean,
|
|
122
|
-
label: "Used as backup"
|
|
123
|
-
}, {
|
|
124
|
-
minVersion: 2
|
|
125
|
-
}),
|
|
126
|
-
...import_Values.V.staticProperty("overheating", {
|
|
127
|
-
...import_safe.ValueMetadata.ReadOnlyBoolean,
|
|
128
|
-
label: "Overheating"
|
|
129
|
-
}, {
|
|
130
|
-
minVersion: 2
|
|
131
|
-
}),
|
|
132
|
-
...import_Values.V.staticProperty("lowFluid", {
|
|
133
|
-
...import_safe.ValueMetadata.ReadOnlyBoolean,
|
|
134
|
-
label: "Fluid is low"
|
|
135
|
-
}, {
|
|
136
|
-
minVersion: 2
|
|
137
|
-
}),
|
|
138
|
-
...import_Values.V.staticProperty("rechargeOrReplace", {
|
|
139
|
-
...import_safe.ValueMetadata.ReadOnlyUInt8,
|
|
140
|
-
label: "Recharge or replace",
|
|
141
|
-
states: (0, import_safe.enumValuesToMetadataStates)(import_Types.BatteryReplacementStatus)
|
|
142
|
-
}, {
|
|
143
|
-
minVersion: 2
|
|
144
|
-
}),
|
|
145
|
-
...import_Values.V.staticProperty("disconnected", {
|
|
146
|
-
...import_safe.ValueMetadata.ReadOnlyBoolean,
|
|
147
|
-
label: "Battery is disconnected"
|
|
148
|
-
}, {
|
|
149
|
-
minVersion: 2
|
|
150
|
-
}),
|
|
151
|
-
...import_Values.V.staticProperty("lowTemperatureStatus", {
|
|
152
|
-
...import_safe.ValueMetadata.ReadOnlyBoolean,
|
|
153
|
-
label: "Battery temperature is low"
|
|
154
|
-
}, {
|
|
155
|
-
minVersion: 3
|
|
156
|
-
})
|
|
157
|
-
})
|
|
158
|
-
});
|
|
159
82
|
let BatteryCCAPI = (() => {
|
|
160
83
|
let _classDecorators = [(0, import_CommandClassDecorators.API)(import_safe.CommandClasses.Battery)];
|
|
161
84
|
let _classDescriptor;
|
|
@@ -247,7 +170,7 @@ let BatteryCCAPI = (() => {
|
|
|
247
170
|
return BatteryCCAPI2 = _classThis;
|
|
248
171
|
})();
|
|
249
172
|
let BatteryCC = (() => {
|
|
250
|
-
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses.Battery), (0, import_CommandClassDecorators.implementedVersion)(3), (0, import_CommandClassDecorators.ccValues)(BatteryCCValues)];
|
|
173
|
+
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses.Battery), (0, import_CommandClassDecorators.implementedVersion)(3), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.BatteryCCValues)];
|
|
251
174
|
let _classDescriptor;
|
|
252
175
|
let _classExtraInitializers = [];
|
|
253
176
|
let _classThis;
|
|
@@ -331,14 +254,14 @@ temperature: ${batteryHealth.temperature} \xB0C`;
|
|
|
331
254
|
const valueDB = ctx.tryGetValueDB(this.nodeId);
|
|
332
255
|
if (!valueDB)
|
|
333
256
|
return true;
|
|
334
|
-
const lastUpdated = valueDB.getTimestamp(BatteryCCValues.level.endpoint(this.endpointIndex));
|
|
257
|
+
const lastUpdated = valueDB.getTimestamp(import_CCValues_generated.BatteryCCValues.level.endpoint(this.endpointIndex));
|
|
335
258
|
return lastUpdated == void 0 || Date.now() - lastUpdated > import_core.timespan.days(7);
|
|
336
259
|
}
|
|
337
260
|
};
|
|
338
261
|
return BatteryCC2 = _classThis;
|
|
339
262
|
})();
|
|
340
263
|
let BatteryCCReport = (() => {
|
|
341
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BatteryCommand.Report), (0, import_CommandClassDecorators.ccValueProperty)("level", BatteryCCValues.level), (0, import_CommandClassDecorators.ccValueProperty)("isLow", BatteryCCValues.isLow), (0, import_CommandClassDecorators.ccValueProperty)("chargingStatus", BatteryCCValues.chargingStatus), (0, import_CommandClassDecorators.ccValueProperty)("rechargeable", BatteryCCValues.rechargeable), (0, import_CommandClassDecorators.ccValueProperty)("backup", BatteryCCValues.backup), (0, import_CommandClassDecorators.ccValueProperty)("overheating", BatteryCCValues.overheating), (0, import_CommandClassDecorators.ccValueProperty)("lowFluid", BatteryCCValues.lowFluid), (0, import_CommandClassDecorators.ccValueProperty)("rechargeOrReplace", BatteryCCValues.rechargeOrReplace), (0, import_CommandClassDecorators.ccValueProperty)("disconnected", BatteryCCValues.disconnected), (0, import_CommandClassDecorators.ccValueProperty)("lowTemperatureStatus", BatteryCCValues.lowTemperatureStatus)];
|
|
264
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BatteryCommand.Report), (0, import_CommandClassDecorators.ccValueProperty)("level", import_CCValues_generated.BatteryCCValues.level), (0, import_CommandClassDecorators.ccValueProperty)("isLow", import_CCValues_generated.BatteryCCValues.isLow), (0, import_CommandClassDecorators.ccValueProperty)("chargingStatus", import_CCValues_generated.BatteryCCValues.chargingStatus), (0, import_CommandClassDecorators.ccValueProperty)("rechargeable", import_CCValues_generated.BatteryCCValues.rechargeable), (0, import_CommandClassDecorators.ccValueProperty)("backup", import_CCValues_generated.BatteryCCValues.backup), (0, import_CommandClassDecorators.ccValueProperty)("overheating", import_CCValues_generated.BatteryCCValues.overheating), (0, import_CommandClassDecorators.ccValueProperty)("lowFluid", import_CCValues_generated.BatteryCCValues.lowFluid), (0, import_CommandClassDecorators.ccValueProperty)("rechargeOrReplace", import_CCValues_generated.BatteryCCValues.rechargeOrReplace), (0, import_CommandClassDecorators.ccValueProperty)("disconnected", import_CCValues_generated.BatteryCCValues.disconnected), (0, import_CommandClassDecorators.ccValueProperty)("lowTemperatureStatus", import_CCValues_generated.BatteryCCValues.lowTemperatureStatus)];
|
|
342
265
|
let _classDescriptor;
|
|
343
266
|
let _classExtraInitializers = [];
|
|
344
267
|
let _classThis;
|
|
@@ -511,7 +434,7 @@ let BatteryCCGet = (() => {
|
|
|
511
434
|
return BatteryCCGet2 = _classThis;
|
|
512
435
|
})();
|
|
513
436
|
let BatteryCCHealthReport = (() => {
|
|
514
|
-
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BatteryCommand.HealthReport), (0, import_CommandClassDecorators.ccValueProperty)("maximumCapacity", BatteryCCValues.maximumCapacity), (0, import_CommandClassDecorators.ccValueProperty)("temperature", BatteryCCValues.temperature)];
|
|
437
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BatteryCommand.HealthReport), (0, import_CommandClassDecorators.ccValueProperty)("maximumCapacity", import_CCValues_generated.BatteryCCValues.maximumCapacity), (0, import_CommandClassDecorators.ccValueProperty)("temperature", import_CCValues_generated.BatteryCCValues.temperature)];
|
|
515
438
|
let _classDescriptor;
|
|
516
439
|
let _classExtraInitializers = [];
|
|
517
440
|
let _classThis;
|
|
@@ -552,7 +475,7 @@ let BatteryCCHealthReport = (() => {
|
|
|
552
475
|
persistValues(ctx) {
|
|
553
476
|
if (!super.persistValues(ctx))
|
|
554
477
|
return false;
|
|
555
|
-
const temperatureValue = BatteryCCValues.temperature;
|
|
478
|
+
const temperatureValue = import_CCValues_generated.BatteryCCValues.temperature;
|
|
556
479
|
this.setMetadata(ctx, temperatureValue, {
|
|
557
480
|
...temperatureValue.meta,
|
|
558
481
|
unit: this.temperatureScale === 0 ? "\xB0C" : void 0
|