@zwave-js/cc 14.0.0-beta.1 → 14.0.0-beta.4
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 +194 -0
- package/build/cjs/cc/AlarmSensorCC.js +395 -0
- package/build/cjs/cc/AlarmSensorCC.js.map +7 -0
- package/build/cjs/cc/AssociationCC.d.ts +253 -0
- package/build/cjs/cc/AssociationCC.js +711 -0
- package/build/cjs/cc/AssociationCC.js.map +7 -0
- package/build/cjs/cc/AssociationGroupInfoCC.d.ts +230 -0
- package/build/cjs/cc/AssociationGroupInfoCC.js +746 -0
- package/build/cjs/cc/AssociationGroupInfoCC.js.map +7 -0
- package/build/cjs/cc/BarrierOperatorCC.d.ts +243 -0
- package/build/cjs/cc/BarrierOperatorCC.js +582 -0
- package/build/cjs/cc/BarrierOperatorCC.js.map +7 -0
- package/build/cjs/cc/BasicCC.d.ts +191 -0
- package/build/cjs/cc/BasicCC.js +384 -0
- package/build/cjs/cc/BasicCC.js.map +7 -0
- package/build/cjs/cc/BatteryCC.d.ts +406 -0
- package/build/cjs/cc/BatteryCC.js +508 -0
- package/build/cjs/cc/BatteryCC.js.map +7 -0
- package/build/cjs/cc/BinarySensorCC.d.ts +122 -0
- package/build/cjs/cc/BinarySensorCC.js +431 -0
- package/build/cjs/cc/BinarySensorCC.js.map +7 -0
- package/build/cjs/cc/BinarySwitchCC.d.ts +139 -0
- package/build/cjs/cc/BinarySwitchCC.js +378 -0
- package/build/cjs/cc/BinarySwitchCC.js.map +7 -0
- package/build/cjs/cc/CRC16CC.d.ts +29 -0
- package/build/cjs/cc/CRC16CC.js +133 -0
- package/build/cjs/cc/CRC16CC.js.map +7 -0
- package/build/cjs/cc/CentralSceneCC.d.ts +210 -0
- package/build/cjs/cc/CentralSceneCC.js +449 -0
- package/build/cjs/cc/CentralSceneCC.js.map +7 -0
- package/build/cjs/cc/ClimateControlScheduleCC.d.ts +177 -0
- package/build/cjs/cc/ClimateControlScheduleCC.js +480 -0
- package/build/cjs/cc/ClimateControlScheduleCC.js.map +7 -0
- package/build/cjs/cc/ClockCC.d.ts +47 -0
- package/build/cjs/cc/ClockCC.js +226 -0
- package/build/cjs/cc/ClockCC.js.map +7 -0
- package/build/cjs/cc/ColorSwitchCC.d.ts +339 -0
- package/build/cjs/cc/ColorSwitchCC.js +1117 -0
- package/build/cjs/cc/ColorSwitchCC.js.map +7 -0
- package/build/cjs/cc/ConfigurationCC.d.ts +396 -0
- package/build/cjs/cc/ConfigurationCC.js +2230 -0
- package/build/cjs/cc/ConfigurationCC.js.map +7 -0
- package/build/cjs/cc/DeviceResetLocallyCC.d.ts +17 -0
- package/build/cjs/cc/DeviceResetLocallyCC.js +92 -0
- package/build/cjs/cc/DeviceResetLocallyCC.js.map +7 -0
- package/build/cjs/cc/DoorLockCC.d.ts +837 -0
- package/build/cjs/cc/DoorLockCC.js +1239 -0
- package/build/cjs/cc/DoorLockCC.js.map +7 -0
- package/build/cjs/cc/DoorLockLoggingCC.d.ts +77 -0
- package/build/cjs/cc/DoorLockLoggingCC.js +343 -0
- package/build/cjs/cc/DoorLockLoggingCC.js.map +7 -0
- package/build/cjs/cc/EnergyProductionCC.d.ts +77 -0
- package/build/cjs/cc/EnergyProductionCC.js +240 -0
- package/build/cjs/cc/EnergyProductionCC.js.map +7 -0
- package/build/cjs/cc/EntryControlCC.d.ts +231 -0
- package/build/cjs/cc/EntryControlCC.js +593 -0
- package/build/cjs/cc/EntryControlCC.js.map +7 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +359 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +1122 -0
- package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +7 -0
- package/build/cjs/cc/HailCC.d.ts +6 -0
- package/build/cjs/cc/HailCC.js +45 -0
- package/build/cjs/cc/HailCC.js.map +7 -0
- package/build/cjs/cc/HumidityControlModeCC.d.ts +111 -0
- package/build/cjs/cc/HumidityControlModeCC.js +323 -0
- package/build/cjs/cc/HumidityControlModeCC.js.map +7 -0
- package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +60 -0
- package/build/cjs/cc/HumidityControlOperatingStateCC.js +164 -0
- package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +7 -0
- package/build/cjs/cc/HumidityControlSetpointCC.d.ts +209 -0
- package/build/cjs/cc/HumidityControlSetpointCC.js +634 -0
- package/build/cjs/cc/HumidityControlSetpointCC.js.map +7 -0
- package/build/cjs/cc/InclusionControllerCC.d.ts +42 -0
- package/build/cjs/cc/InclusionControllerCC.js +160 -0
- package/build/cjs/cc/InclusionControllerCC.js.map +7 -0
- package/build/cjs/cc/IndicatorCC.d.ts +338 -0
- package/build/cjs/cc/IndicatorCC.js +1234 -0
- package/build/cjs/cc/IndicatorCC.js.map +7 -0
- package/build/cjs/cc/IrrigationCC.d.ts +1496 -0
- package/build/cjs/cc/IrrigationCC.js +1978 -0
- package/build/cjs/cc/IrrigationCC.js.map +7 -0
- package/build/cjs/cc/LanguageCC.d.ts +101 -0
- package/build/cjs/cc/LanguageCC.js +267 -0
- package/build/cjs/cc/LanguageCC.js.map +7 -0
- package/build/cjs/cc/LockCC.d.ts +73 -0
- package/build/cjs/cc/LockCC.js +222 -0
- package/build/cjs/cc/LockCC.js.map +7 -0
- package/build/cjs/cc/ManufacturerProprietaryCC.d.ts +32 -0
- package/build/cjs/cc/ManufacturerProprietaryCC.js +209 -0
- package/build/cjs/cc/ManufacturerProprietaryCC.js.map +7 -0
- package/build/cjs/cc/ManufacturerSpecificCC.d.ts +171 -0
- package/build/cjs/cc/ManufacturerSpecificCC.js +334 -0
- package/build/cjs/cc/ManufacturerSpecificCC.js.map +7 -0
- package/build/cjs/cc/MeterCC.d.ts +318 -0
- package/build/cjs/cc/MeterCC.js +1235 -0
- package/build/cjs/cc/MeterCC.js.map +7 -0
- package/build/cjs/cc/MultiChannelAssociationCC.d.ts +241 -0
- package/build/cjs/cc/MultiChannelAssociationCC.js +956 -0
- package/build/cjs/cc/MultiChannelAssociationCC.js.map +7 -0
- package/build/cjs/cc/MultiChannelCC.d.ts +394 -0
- package/build/cjs/cc/MultiChannelCC.js +1050 -0
- package/build/cjs/cc/MultiChannelCC.js.map +7 -0
- package/build/cjs/cc/MultiCommandCC.d.ts +27 -0
- package/build/cjs/cc/MultiCommandCC.js +159 -0
- package/build/cjs/cc/MultiCommandCC.js.map +7 -0
- package/build/cjs/cc/MultilevelSensorCC.d.ts +185 -0
- package/build/cjs/cc/MultilevelSensorCC.js +716 -0
- package/build/cjs/cc/MultilevelSensorCC.js.map +7 -0
- package/build/cjs/cc/MultilevelSwitchCC.d.ts +357 -0
- package/build/cjs/cc/MultilevelSwitchCC.js +780 -0
- package/build/cjs/cc/MultilevelSwitchCC.js.map +7 -0
- package/build/cjs/cc/NoOperationCC.d.ts +9 -0
- package/build/cjs/cc/NoOperationCC.js +64 -0
- package/build/cjs/cc/NoOperationCC.js.map +7 -0
- package/build/cjs/cc/NodeNamingCC.d.ts +118 -0
- package/build/cjs/cc/NodeNamingCC.js +364 -0
- package/build/cjs/cc/NodeNamingCC.js.map +7 -0
- package/build/cjs/cc/NotificationCC.d.ts +479 -0
- package/build/cjs/cc/NotificationCC.js +1245 -0
- package/build/cjs/cc/NotificationCC.js.map +7 -0
- package/build/cjs/cc/PowerlevelCC.d.ts +82 -0
- package/build/cjs/cc/PowerlevelCC.js +510 -0
- package/build/cjs/cc/PowerlevelCC.js.map +7 -0
- package/build/cjs/cc/ProtectionCC.d.ts +325 -0
- package/build/cjs/cc/ProtectionCC.js +667 -0
- package/build/cjs/cc/ProtectionCC.js.map +7 -0
- package/build/cjs/cc/SceneActivationCC.d.ts +89 -0
- package/build/cjs/cc/SceneActivationCC.js +193 -0
- package/build/cjs/cc/SceneActivationCC.js.map +7 -0
- package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +120 -0
- package/build/cjs/cc/SceneActuatorConfigurationCC.js +370 -0
- package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +7 -0
- package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +129 -0
- package/build/cjs/cc/SceneControllerConfigurationCC.js +423 -0
- package/build/cjs/cc/SceneControllerConfigurationCC.js.map +7 -0
- package/build/cjs/cc/ScheduleEntryLockCC.d.ts +434 -0
- package/build/cjs/cc/ScheduleEntryLockCC.js +1763 -0
- package/build/cjs/cc/ScheduleEntryLockCC.js.map +7 -0
- package/build/cjs/cc/Security2CC.d.ts +251 -0
- package/build/cjs/cc/Security2CC.js +1589 -0
- package/build/cjs/cc/Security2CC.js.map +7 -0
- package/build/cjs/cc/SecurityCC.d.ts +128 -0
- package/build/cjs/cc/SecurityCC.js +757 -0
- package/build/cjs/cc/SecurityCC.js.map +7 -0
- package/build/cjs/cc/SoundSwitchCC.d.ts +232 -0
- package/build/cjs/cc/SoundSwitchCC.js +661 -0
- package/build/cjs/cc/SoundSwitchCC.js.map +7 -0
- package/build/cjs/cc/SupervisionCC.d.ts +104 -0
- package/build/cjs/cc/SupervisionCC.js +308 -0
- package/build/cjs/cc/SupervisionCC.js.map +7 -0
- package/build/cjs/cc/ThermostatFanModeCC.d.ts +141 -0
- package/build/cjs/cc/ThermostatFanModeCC.js +372 -0
- package/build/cjs/cc/ThermostatFanModeCC.js.map +7 -0
- package/build/cjs/cc/ThermostatFanStateCC.d.ts +60 -0
- package/build/cjs/cc/ThermostatFanStateCC.js +166 -0
- package/build/cjs/cc/ThermostatFanStateCC.js.map +7 -0
- package/build/cjs/cc/ThermostatModeCC.d.ts +150 -0
- package/build/cjs/cc/ThermostatModeCC.js +436 -0
- package/build/cjs/cc/ThermostatModeCC.js.map +7 -0
- package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +61 -0
- package/build/cjs/cc/ThermostatOperatingStateCC.js +162 -0
- package/build/cjs/cc/ThermostatOperatingStateCC.js.map +7 -0
- package/build/cjs/cc/ThermostatSetbackCC.d.ts +46 -0
- package/build/cjs/cc/ThermostatSetbackCC.js +262 -0
- package/build/cjs/cc/ThermostatSetbackCC.js.map +7 -0
- package/build/cjs/cc/ThermostatSetpointCC.d.ts +197 -0
- package/build/cjs/cc/ThermostatSetpointCC.js +638 -0
- package/build/cjs/cc/ThermostatSetpointCC.js.map +7 -0
- package/build/cjs/cc/TimeCC.d.ts +88 -0
- package/build/cjs/cc/TimeCC.js +473 -0
- package/build/cjs/cc/TimeCC.js.map +7 -0
- package/build/cjs/cc/TimeParametersCC.d.ts +72 -0
- package/build/cjs/cc/TimeParametersCC.js +313 -0
- package/build/cjs/cc/TimeParametersCC.js.map +7 -0
- package/build/cjs/cc/TransportServiceCC.d.ts +107 -0
- package/build/cjs/cc/TransportServiceCC.js +404 -0
- package/build/cjs/cc/TransportServiceCC.js.map +7 -0
- package/build/cjs/cc/UserCodeCC.d.ts +683 -0
- package/build/cjs/cc/UserCodeCC.js +1620 -0
- package/build/cjs/cc/UserCodeCC.js.map +7 -0
- package/build/cjs/cc/VersionCC.d.ts +469 -0
- package/build/cjs/cc/VersionCC.js +828 -0
- package/build/cjs/cc/VersionCC.js.map +7 -0
- package/build/cjs/cc/WakeUpCC.d.ts +150 -0
- package/build/cjs/cc/WakeUpCC.js +456 -0
- package/build/cjs/cc/WakeUpCC.js.map +7 -0
- package/build/cjs/cc/WindowCoveringCC.d.ts +315 -0
- package/build/cjs/cc/WindowCoveringCC.js +776 -0
- package/build/cjs/cc/WindowCoveringCC.js.map +7 -0
- package/build/cjs/cc/ZWaveLongRangeCC.d.ts +4 -0
- package/build/cjs/cc/ZWaveLongRangeCC.js +43 -0
- package/build/cjs/cc/ZWaveLongRangeCC.js.map +7 -0
- package/build/cjs/cc/ZWavePlusCC.d.ts +163 -0
- package/build/cjs/cc/ZWavePlusCC.js +288 -0
- package/build/cjs/cc/ZWavePlusCC.js.map +7 -0
- package/build/cjs/cc/ZWaveProtocolCC.d.ts +344 -0
- package/build/cjs/cc/ZWaveProtocolCC.js +1071 -0
- package/build/cjs/cc/ZWaveProtocolCC.js.map +7 -0
- package/build/cjs/cc/index.d.ts +132 -0
- package/build/cjs/cc/index.js +1180 -0
- package/build/cjs/cc/index.js.map +7 -0
- package/build/cjs/cc/manufacturerProprietary/Decorators.d.ts +64 -0
- package/build/cjs/cc/manufacturerProprietary/Decorators.js +76 -0
- package/build/cjs/cc/manufacturerProprietary/Decorators.js.map +7 -0
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.d.ts +79 -0
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.js +412 -0
- package/build/cjs/cc/manufacturerProprietary/FibaroCC.js.map +7 -0
- package/build/cjs/index.d.ts +15 -0
- package/build/cjs/index.js +77 -0
- package/build/cjs/index.js.map +7 -0
- package/build/cjs/index_safe.d.ts +3 -0
- package/build/cjs/index_safe.js +25 -0
- package/build/cjs/index_safe.js.map +7 -0
- package/build/cjs/lib/API.d.ts +271 -0
- package/build/cjs/lib/API.js +413 -0
- package/build/cjs/lib/API.js.map +7 -0
- package/build/cjs/lib/CommandClass.d.ts +234 -0
- package/build/cjs/lib/CommandClass.js +692 -0
- package/build/cjs/lib/CommandClass.js.map +7 -0
- package/build/cjs/lib/CommandClassDecorators.d.ts +112 -0
- package/build/cjs/lib/CommandClassDecorators.js +182 -0
- package/build/cjs/lib/CommandClassDecorators.js.map +7 -0
- package/build/cjs/lib/EncapsulatingCommandClass.d.ts +22 -0
- package/build/cjs/lib/EncapsulatingCommandClass.js +71 -0
- package/build/cjs/lib/EncapsulatingCommandClass.js.map +7 -0
- package/build/cjs/lib/ICommandClassContainer.js +17 -0
- package/build/cjs/lib/ICommandClassContainer.js.map +7 -0
- package/build/cjs/lib/NotificationEventPayload.d.ts +10 -0
- package/build/cjs/lib/NotificationEventPayload.js +31 -0
- package/build/cjs/lib/NotificationEventPayload.js.map +7 -0
- package/build/cjs/lib/Security2/Extension.js +333 -0
- package/build/cjs/lib/Security2/Extension.js.map +7 -0
- package/build/cjs/lib/Security2/shared.js +69 -0
- package/build/cjs/lib/Security2/shared.js.map +7 -0
- package/build/cjs/lib/SetValueResult.js +65 -0
- package/build/cjs/lib/SetValueResult.js.map +7 -0
- package/build/cjs/lib/Values.d.ts +223 -0
- package/build/cjs/lib/Values.js +191 -0
- package/build/cjs/lib/Values.js.map +7 -0
- package/build/cjs/lib/_Types.js +1676 -0
- package/build/cjs/lib/_Types.js.map +7 -0
- package/build/cjs/lib/serializers.d.ts +34 -0
- package/build/cjs/lib/serializers.js +110 -0
- package/build/cjs/lib/serializers.js.map +7 -0
- package/build/cjs/lib/utils.d.ts +17 -0
- package/build/cjs/lib/utils.js +678 -0
- package/build/cjs/lib/utils.js.map +7 -0
- package/build/cjs/package.json +3 -0
- package/build/esm/cc/AlarmSensorCC.d.ts +194 -0
- package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -0
- package/build/esm/cc/AlarmSensorCC.js +392 -0
- package/build/esm/cc/AlarmSensorCC.js.map +1 -0
- package/build/esm/cc/AssociationCC.d.ts +253 -0
- package/build/esm/cc/AssociationCC.d.ts.map +1 -0
- package/build/esm/cc/AssociationCC.js +706 -0
- package/build/esm/cc/AssociationCC.js.map +1 -0
- package/build/esm/cc/AssociationGroupInfoCC.d.ts +230 -0
- package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -0
- package/build/esm/cc/AssociationGroupInfoCC.js +769 -0
- package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -0
- package/build/esm/cc/BarrierOperatorCC.d.ts +243 -0
- package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -0
- package/build/esm/cc/BarrierOperatorCC.js +610 -0
- package/build/esm/cc/BarrierOperatorCC.js.map +1 -0
- package/build/esm/cc/BasicCC.d.ts +191 -0
- package/build/esm/cc/BasicCC.d.ts.map +1 -0
- package/build/esm/cc/BasicCC.js +390 -0
- package/build/esm/cc/BasicCC.js.map +1 -0
- package/build/esm/cc/BatteryCC.d.ts +406 -0
- package/build/esm/cc/BatteryCC.d.ts.map +1 -0
- package/build/esm/cc/BatteryCC.js +513 -0
- package/build/esm/cc/BatteryCC.js.map +1 -0
- package/build/esm/cc/BinarySensorCC.d.ts +122 -0
- package/build/esm/cc/BinarySensorCC.d.ts.map +1 -0
- package/build/esm/cc/BinarySensorCC.js +417 -0
- package/build/esm/cc/BinarySensorCC.js.map +1 -0
- package/build/esm/cc/BinarySwitchCC.d.ts +139 -0
- package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -0
- package/build/esm/cc/BinarySwitchCC.js +362 -0
- package/build/esm/cc/BinarySwitchCC.js.map +1 -0
- package/build/esm/cc/CRC16CC.d.ts +29 -0
- package/build/esm/cc/CRC16CC.d.ts.map +1 -0
- package/build/esm/cc/CRC16CC.js +123 -0
- package/build/esm/cc/CRC16CC.js.map +1 -0
- package/build/esm/cc/CentralSceneCC.d.ts +210 -0
- package/build/esm/cc/CentralSceneCC.d.ts.map +1 -0
- package/build/esm/cc/CentralSceneCC.js +427 -0
- package/build/esm/cc/CentralSceneCC.js.map +1 -0
- package/build/esm/cc/ClimateControlScheduleCC.d.ts +177 -0
- package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -0
- package/build/esm/cc/ClimateControlScheduleCC.js +466 -0
- package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -0
- package/build/esm/cc/ClockCC.d.ts +47 -0
- package/build/esm/cc/ClockCC.d.ts.map +1 -0
- package/build/esm/cc/ClockCC.js +205 -0
- package/build/esm/cc/ClockCC.js.map +1 -0
- package/build/esm/cc/ColorSwitchCC.d.ts +339 -0
- package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -0
- package/build/esm/cc/ColorSwitchCC.js +1149 -0
- package/build/esm/cc/ColorSwitchCC.js.map +1 -0
- package/build/esm/cc/ConfigurationCC.d.ts +396 -0
- package/build/esm/cc/ConfigurationCC.d.ts.map +1 -0
- package/build/esm/cc/ConfigurationCC.js +2454 -0
- package/build/esm/cc/ConfigurationCC.js.map +1 -0
- package/build/esm/cc/DeviceResetLocallyCC.d.ts +17 -0
- package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -0
- package/build/esm/cc/DeviceResetLocallyCC.js +73 -0
- package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -0
- package/build/esm/cc/DoorLockCC.d.ts +837 -0
- package/build/esm/cc/DoorLockCC.d.ts.map +1 -0
- package/build/esm/cc/DoorLockCC.js +1270 -0
- package/build/esm/cc/DoorLockCC.js.map +1 -0
- package/build/esm/cc/DoorLockLoggingCC.d.ts +77 -0
- package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -0
- package/build/esm/cc/DoorLockLoggingCC.js +316 -0
- package/build/esm/cc/DoorLockLoggingCC.js.map +1 -0
- package/build/esm/cc/EnergyProductionCC.d.ts +77 -0
- package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -0
- package/build/esm/cc/EnergyProductionCC.js +213 -0
- package/build/esm/cc/EnergyProductionCC.js.map +1 -0
- package/build/esm/cc/EntryControlCC.d.ts +231 -0
- package/build/esm/cc/EntryControlCC.d.ts.map +1 -0
- package/build/esm/cc/EntryControlCC.js +581 -0
- package/build/esm/cc/EntryControlCC.js.map +1 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +359 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js +1142 -0
- package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -0
- package/build/esm/cc/HailCC.d.ts +6 -0
- package/build/esm/cc/HailCC.d.ts.map +1 -0
- package/build/esm/cc/HailCC.js +21 -0
- package/build/esm/cc/HailCC.js.map +1 -0
- package/build/esm/cc/HumidityControlModeCC.d.ts +111 -0
- package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -0
- package/build/esm/cc/HumidityControlModeCC.js +305 -0
- package/build/esm/cc/HumidityControlModeCC.js.map +1 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +60 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.js +137 -0
- package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -0
- package/build/esm/cc/HumidityControlSetpointCC.d.ts +209 -0
- package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -0
- package/build/esm/cc/HumidityControlSetpointCC.js +645 -0
- package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -0
- package/build/esm/cc/InclusionControllerCC.d.ts +42 -0
- package/build/esm/cc/InclusionControllerCC.d.ts.map +1 -0
- package/build/esm/cc/InclusionControllerCC.js +133 -0
- package/build/esm/cc/InclusionControllerCC.js.map +1 -0
- package/build/esm/cc/IndicatorCC.d.ts +338 -0
- package/build/esm/cc/IndicatorCC.d.ts.map +1 -0
- package/build/esm/cc/IndicatorCC.js +1317 -0
- package/build/esm/cc/IndicatorCC.js.map +1 -0
- package/build/esm/cc/IrrigationCC.d.ts +1496 -0
- package/build/esm/cc/IrrigationCC.d.ts.map +1 -0
- package/build/esm/cc/IrrigationCC.js +2038 -0
- package/build/esm/cc/IrrigationCC.js.map +1 -0
- package/build/esm/cc/LanguageCC.d.ts +101 -0
- package/build/esm/cc/LanguageCC.d.ts.map +1 -0
- package/build/esm/cc/LanguageCC.js +243 -0
- package/build/esm/cc/LanguageCC.js.map +1 -0
- package/build/esm/cc/LockCC.d.ts +73 -0
- package/build/esm/cc/LockCC.d.ts.map +1 -0
- package/build/esm/cc/LockCC.js +197 -0
- package/build/esm/cc/LockCC.js.map +1 -0
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts +32 -0
- package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -0
- package/build/esm/cc/ManufacturerProprietaryCC.js +201 -0
- package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -0
- package/build/esm/cc/ManufacturerSpecificCC.d.ts +171 -0
- package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -0
- package/build/esm/cc/ManufacturerSpecificCC.js +315 -0
- package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -0
- package/build/esm/cc/MeterCC.d.ts +318 -0
- package/build/esm/cc/MeterCC.d.ts.map +1 -0
- package/build/esm/cc/MeterCC.js +1308 -0
- package/build/esm/cc/MeterCC.js.map +1 -0
- package/build/esm/cc/MultiChannelAssociationCC.d.ts +241 -0
- package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -0
- package/build/esm/cc/MultiChannelAssociationCC.js +981 -0
- package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -0
- package/build/esm/cc/MultiChannelCC.d.ts +394 -0
- package/build/esm/cc/MultiChannelCC.d.ts.map +1 -0
- package/build/esm/cc/MultiChannelCC.js +1127 -0
- package/build/esm/cc/MultiChannelCC.js.map +1 -0
- package/build/esm/cc/MultiCommandCC.d.ts +27 -0
- package/build/esm/cc/MultiCommandCC.d.ts.map +1 -0
- package/build/esm/cc/MultiCommandCC.js +142 -0
- package/build/esm/cc/MultiCommandCC.js.map +1 -0
- package/build/esm/cc/MultilevelSensorCC.d.ts +185 -0
- package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -0
- package/build/esm/cc/MultilevelSensorCC.js +753 -0
- package/build/esm/cc/MultilevelSensorCC.js.map +1 -0
- package/build/esm/cc/MultilevelSwitchCC.d.ts +357 -0
- package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -0
- package/build/esm/cc/MultilevelSwitchCC.js +810 -0
- package/build/esm/cc/MultilevelSwitchCC.js.map +1 -0
- package/build/esm/cc/NoOperationCC.d.ts +9 -0
- package/build/esm/cc/NoOperationCC.d.ts.map +1 -0
- package/build/esm/cc/NoOperationCC.js +39 -0
- package/build/esm/cc/NoOperationCC.js.map +1 -0
- package/build/esm/cc/NodeNamingCC.d.ts +118 -0
- package/build/esm/cc/NodeNamingCC.d.ts.map +1 -0
- package/build/esm/cc/NodeNamingCC.js +345 -0
- package/build/esm/cc/NodeNamingCC.js.map +1 -0
- package/build/esm/cc/NotificationCC.d.ts +479 -0
- package/build/esm/cc/NotificationCC.d.ts.map +1 -0
- package/build/esm/cc/NotificationCC.js +1350 -0
- package/build/esm/cc/NotificationCC.js.map +1 -0
- package/build/esm/cc/PowerlevelCC.d.ts +82 -0
- package/build/esm/cc/PowerlevelCC.d.ts.map +1 -0
- package/build/esm/cc/PowerlevelCC.js +485 -0
- package/build/esm/cc/PowerlevelCC.js.map +1 -0
- package/build/esm/cc/ProtectionCC.d.ts +325 -0
- package/build/esm/cc/ProtectionCC.d.ts.map +1 -0
- package/build/esm/cc/ProtectionCC.js +669 -0
- package/build/esm/cc/ProtectionCC.js.map +1 -0
- package/build/esm/cc/SceneActivationCC.d.ts +89 -0
- package/build/esm/cc/SceneActivationCC.d.ts.map +1 -0
- package/build/esm/cc/SceneActivationCC.js +166 -0
- package/build/esm/cc/SceneActivationCC.js.map +1 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +120 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.js +374 -0
- package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -0
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts +129 -0
- package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -0
- package/build/esm/cc/SceneControllerConfigurationCC.js +446 -0
- package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -0
- package/build/esm/cc/ScheduleEntryLockCC.d.ts +434 -0
- package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -0
- package/build/esm/cc/ScheduleEntryLockCC.js +1826 -0
- package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -0
- package/build/esm/cc/Security2CC.d.ts +251 -0
- package/build/esm/cc/Security2CC.d.ts.map +1 -0
- package/build/esm/cc/Security2CC.js +1814 -0
- package/build/esm/cc/Security2CC.js.map +1 -0
- package/build/esm/cc/SecurityCC.d.ts +128 -0
- package/build/esm/cc/SecurityCC.d.ts.map +1 -0
- package/build/esm/cc/SecurityCC.js +800 -0
- package/build/esm/cc/SecurityCC.js.map +1 -0
- package/build/esm/cc/SoundSwitchCC.d.ts +232 -0
- package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -0
- package/build/esm/cc/SoundSwitchCC.js +633 -0
- package/build/esm/cc/SoundSwitchCC.js.map +1 -0
- package/build/esm/cc/SupervisionCC.d.ts +104 -0
- package/build/esm/cc/SupervisionCC.d.ts.map +1 -0
- package/build/esm/cc/SupervisionCC.js +319 -0
- package/build/esm/cc/SupervisionCC.js.map +1 -0
- package/build/esm/cc/ThermostatFanModeCC.d.ts +141 -0
- package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatFanModeCC.js +359 -0
- package/build/esm/cc/ThermostatFanModeCC.js.map +1 -0
- package/build/esm/cc/ThermostatFanStateCC.d.ts +60 -0
- package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatFanStateCC.js +139 -0
- package/build/esm/cc/ThermostatFanStateCC.js.map +1 -0
- package/build/esm/cc/ThermostatModeCC.d.ts +150 -0
- package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatModeCC.js +426 -0
- package/build/esm/cc/ThermostatModeCC.js.map +1 -0
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts +61 -0
- package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatOperatingStateCC.js +135 -0
- package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -0
- package/build/esm/cc/ThermostatSetbackCC.d.ts +46 -0
- package/build/esm/cc/ThermostatSetbackCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatSetbackCC.js +244 -0
- package/build/esm/cc/ThermostatSetbackCC.js.map +1 -0
- package/build/esm/cc/ThermostatSetpointCC.d.ts +197 -0
- package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -0
- package/build/esm/cc/ThermostatSetpointCC.js +655 -0
- package/build/esm/cc/ThermostatSetpointCC.js.map +1 -0
- package/build/esm/cc/TimeCC.d.ts +88 -0
- package/build/esm/cc/TimeCC.d.ts.map +1 -0
- package/build/esm/cc/TimeCC.js +451 -0
- package/build/esm/cc/TimeCC.js.map +1 -0
- package/build/esm/cc/TimeParametersCC.d.ts +72 -0
- package/build/esm/cc/TimeParametersCC.d.ts.map +1 -0
- package/build/esm/cc/TimeParametersCC.js +300 -0
- package/build/esm/cc/TimeParametersCC.js.map +1 -0
- package/build/esm/cc/TransportServiceCC.d.ts +107 -0
- package/build/esm/cc/TransportServiceCC.d.ts.map +1 -0
- package/build/esm/cc/TransportServiceCC.js +422 -0
- package/build/esm/cc/TransportServiceCC.js.map +1 -0
- package/build/esm/cc/UserCodeCC.d.ts +683 -0
- package/build/esm/cc/UserCodeCC.d.ts.map +1 -0
- package/build/esm/cc/UserCodeCC.js +1695 -0
- package/build/esm/cc/UserCodeCC.js.map +1 -0
- package/build/esm/cc/VersionCC.d.ts +469 -0
- package/build/esm/cc/VersionCC.d.ts.map +1 -0
- package/build/esm/cc/VersionCC.js +862 -0
- package/build/esm/cc/VersionCC.js.map +1 -0
- package/build/esm/cc/WakeUpCC.d.ts +150 -0
- package/build/esm/cc/WakeUpCC.d.ts.map +1 -0
- package/build/esm/cc/WakeUpCC.js +438 -0
- package/build/esm/cc/WakeUpCC.js.map +1 -0
- package/build/esm/cc/WindowCoveringCC.d.ts +315 -0
- package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -0
- package/build/esm/cc/WindowCoveringCC.js +780 -0
- package/build/esm/cc/WindowCoveringCC.js.map +1 -0
- package/build/esm/cc/ZWaveLongRangeCC.d.ts +4 -0
- package/build/esm/cc/ZWaveLongRangeCC.d.ts.map +1 -0
- package/build/esm/cc/ZWaveLongRangeCC.js +17 -0
- package/build/esm/cc/ZWaveLongRangeCC.js.map +1 -0
- package/build/esm/cc/ZWavePlusCC.d.ts +163 -0
- package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -0
- package/build/esm/cc/ZWavePlusCC.js +267 -0
- package/build/esm/cc/ZWavePlusCC.js.map +1 -0
- package/build/esm/cc/ZWaveProtocolCC.d.ts +344 -0
- package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -0
- package/build/esm/cc/ZWaveProtocolCC.js +1030 -0
- package/build/esm/cc/ZWaveProtocolCC.js.map +1 -0
- package/build/esm/cc/index.d.ts +132 -0
- package/build/esm/cc/index.d.ts.map +1 -0
- package/build/esm/cc/index.js +71 -0
- package/build/esm/cc/index.js.map +1 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.d.ts +64 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.d.ts.map +1 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.js +79 -0
- package/build/esm/cc/manufacturerProprietary/Decorators.js.map +1 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts +79 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js +385 -0
- package/build/esm/cc/manufacturerProprietary/FibaroCC.js.map +1 -0
- package/build/esm/index.d.ts +15 -0
- package/build/esm/index.d.ts.map +1 -0
- package/build/esm/index.js +14 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/index_safe.d.ts +3 -0
- package/build/esm/index_safe.d.ts.map +1 -0
- package/build/esm/index_safe.js +4 -0
- package/build/esm/index_safe.js.map +1 -0
- package/build/esm/lib/API.d.ts +271 -0
- package/build/esm/lib/API.d.ts.map +1 -0
- package/build/esm/lib/API.js +448 -0
- package/build/esm/lib/API.js.map +1 -0
- package/build/esm/lib/CommandClass.d.ts +234 -0
- package/build/esm/lib/CommandClass.d.ts.map +1 -0
- package/build/esm/lib/CommandClass.js +781 -0
- package/build/esm/lib/CommandClass.js.map +1 -0
- package/build/esm/lib/CommandClassDecorators.d.ts +112 -0
- package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -0
- package/build/esm/lib/CommandClassDecorators.js +229 -0
- package/build/esm/lib/CommandClassDecorators.js.map +1 -0
- package/build/esm/lib/EncapsulatingCommandClass.d.ts +22 -0
- package/build/esm/lib/EncapsulatingCommandClass.d.ts.map +1 -0
- package/build/esm/lib/EncapsulatingCommandClass.js +56 -0
- package/build/esm/lib/EncapsulatingCommandClass.js.map +1 -0
- package/build/esm/lib/ICommandClassContainer.d.ts +2 -0
- package/build/esm/lib/ICommandClassContainer.d.ts.map +1 -0
- package/build/esm/lib/ICommandClassContainer.js +2 -0
- package/build/esm/lib/ICommandClassContainer.js.map +1 -0
- package/build/esm/lib/NotificationEventPayload.d.ts +10 -0
- package/build/esm/lib/NotificationEventPayload.d.ts.map +1 -0
- package/build/esm/lib/NotificationEventPayload.js +7 -0
- package/build/esm/lib/NotificationEventPayload.js.map +1 -0
- package/build/esm/lib/Security2/Extension.d.ts +106 -0
- package/build/esm/lib/Security2/Extension.d.ts.map +1 -0
- package/build/esm/lib/Security2/Extension.js +296 -0
- package/build/esm/lib/Security2/Extension.js.map +1 -0
- package/build/esm/lib/Security2/shared.d.ts +37 -0
- package/build/esm/lib/Security2/shared.d.ts.map +1 -0
- package/build/esm/lib/Security2/shared.js +40 -0
- package/build/esm/lib/Security2/shared.js.map +1 -0
- package/build/esm/lib/SetValueResult.d.ts +55 -0
- package/build/esm/lib/SetValueResult.d.ts.map +1 -0
- package/build/esm/lib/SetValueResult.js +53 -0
- package/build/esm/lib/SetValueResult.js.map +1 -0
- package/build/esm/lib/Values.d.ts +223 -0
- package/build/esm/lib/Values.d.ts.map +1 -0
- package/build/esm/lib/Values.js +169 -0
- package/build/esm/lib/Values.js.map +1 -0
- package/build/esm/lib/_Types.d.ts +1461 -0
- package/build/esm/lib/_Types.d.ts.map +1 -0
- package/build/esm/lib/_Types.js +1432 -0
- package/build/esm/lib/_Types.js.map +1 -0
- package/build/esm/lib/serializers.d.ts +34 -0
- package/build/esm/lib/serializers.d.ts.map +1 -0
- package/build/esm/lib/serializers.js +98 -0
- package/build/esm/lib/serializers.js.map +1 -0
- package/build/esm/lib/utils.d.ts +17 -0
- package/build/esm/lib/utils.d.ts.map +1 -0
- package/build/esm/lib/utils.js +847 -0
- package/build/esm/lib/utils.js.map +1 -0
- package/build/esm/package.json +3 -0
- package/package.json +28 -23
- package/build/cc/AlarmSensorCC.d.ts +0 -194
- package/build/cc/AlarmSensorCC.d.ts.map +0 -1
- package/build/cc/AlarmSensorCC.js +0 -395
- package/build/cc/AlarmSensorCC.js.map +0 -1
- package/build/cc/AssociationCC.d.ts +0 -253
- package/build/cc/AssociationCC.d.ts.map +0 -1
- package/build/cc/AssociationCC.js +0 -732
- package/build/cc/AssociationCC.js.map +0 -1
- package/build/cc/AssociationGroupInfoCC.d.ts +0 -230
- package/build/cc/AssociationGroupInfoCC.d.ts.map +0 -1
- package/build/cc/AssociationGroupInfoCC.js +0 -772
- package/build/cc/AssociationGroupInfoCC.js.map +0 -1
- package/build/cc/BarrierOperatorCC.d.ts +0 -243
- package/build/cc/BarrierOperatorCC.d.ts.map +0 -1
- package/build/cc/BarrierOperatorCC.js +0 -613
- package/build/cc/BarrierOperatorCC.js.map +0 -1
- package/build/cc/BasicCC.d.ts +0 -191
- package/build/cc/BasicCC.d.ts.map +0 -1
- package/build/cc/BasicCC.js +0 -393
- package/build/cc/BasicCC.js.map +0 -1
- package/build/cc/BatteryCC.d.ts +0 -406
- package/build/cc/BatteryCC.d.ts.map +0 -1
- package/build/cc/BatteryCC.js +0 -516
- package/build/cc/BatteryCC.js.map +0 -1
- package/build/cc/BinarySensorCC.d.ts +0 -122
- package/build/cc/BinarySensorCC.d.ts.map +0 -1
- package/build/cc/BinarySensorCC.js +0 -420
- package/build/cc/BinarySensorCC.js.map +0 -1
- package/build/cc/BinarySwitchCC.d.ts +0 -139
- package/build/cc/BinarySwitchCC.d.ts.map +0 -1
- package/build/cc/BinarySwitchCC.js +0 -365
- package/build/cc/BinarySwitchCC.js.map +0 -1
- package/build/cc/CRC16CC.d.ts +0 -29
- package/build/cc/CRC16CC.d.ts.map +0 -1
- package/build/cc/CRC16CC.js +0 -126
- package/build/cc/CRC16CC.js.map +0 -1
- package/build/cc/CentralSceneCC.d.ts +0 -210
- package/build/cc/CentralSceneCC.d.ts.map +0 -1
- package/build/cc/CentralSceneCC.js +0 -453
- package/build/cc/CentralSceneCC.js.map +0 -1
- package/build/cc/ClimateControlScheduleCC.d.ts +0 -177
- package/build/cc/ClimateControlScheduleCC.d.ts.map +0 -1
- package/build/cc/ClimateControlScheduleCC.js +0 -469
- package/build/cc/ClimateControlScheduleCC.js.map +0 -1
- package/build/cc/ClockCC.d.ts +0 -47
- package/build/cc/ClockCC.d.ts.map +0 -1
- package/build/cc/ClockCC.js +0 -208
- package/build/cc/ClockCC.js.map +0 -1
- package/build/cc/ColorSwitchCC.d.ts +0 -339
- package/build/cc/ColorSwitchCC.d.ts.map +0 -1
- package/build/cc/ColorSwitchCC.js +0 -1152
- package/build/cc/ColorSwitchCC.js.map +0 -1
- package/build/cc/ConfigurationCC.d.ts +0 -396
- package/build/cc/ConfigurationCC.d.ts.map +0 -1
- package/build/cc/ConfigurationCC.js +0 -2458
- package/build/cc/ConfigurationCC.js.map +0 -1
- package/build/cc/DeviceResetLocallyCC.d.ts +0 -17
- package/build/cc/DeviceResetLocallyCC.d.ts.map +0 -1
- package/build/cc/DeviceResetLocallyCC.js +0 -76
- package/build/cc/DeviceResetLocallyCC.js.map +0 -1
- package/build/cc/DoorLockCC.d.ts +0 -837
- package/build/cc/DoorLockCC.d.ts.map +0 -1
- package/build/cc/DoorLockCC.js +0 -1273
- package/build/cc/DoorLockCC.js.map +0 -1
- package/build/cc/DoorLockLoggingCC.d.ts +0 -77
- package/build/cc/DoorLockLoggingCC.d.ts.map +0 -1
- package/build/cc/DoorLockLoggingCC.js +0 -319
- package/build/cc/DoorLockLoggingCC.js.map +0 -1
- package/build/cc/EnergyProductionCC.d.ts +0 -77
- package/build/cc/EnergyProductionCC.d.ts.map +0 -1
- package/build/cc/EnergyProductionCC.js +0 -216
- package/build/cc/EnergyProductionCC.js.map +0 -1
- package/build/cc/EntryControlCC.d.ts +0 -231
- package/build/cc/EntryControlCC.d.ts.map +0 -1
- package/build/cc/EntryControlCC.js +0 -607
- package/build/cc/EntryControlCC.js.map +0 -1
- package/build/cc/FirmwareUpdateMetaDataCC.d.ts +0 -359
- package/build/cc/FirmwareUpdateMetaDataCC.d.ts.map +0 -1
- package/build/cc/FirmwareUpdateMetaDataCC.js +0 -1145
- package/build/cc/FirmwareUpdateMetaDataCC.js.map +0 -1
- package/build/cc/HailCC.d.ts +0 -6
- package/build/cc/HailCC.d.ts.map +0 -1
- package/build/cc/HailCC.js +0 -24
- package/build/cc/HailCC.js.map +0 -1
- package/build/cc/HumidityControlModeCC.d.ts +0 -111
- package/build/cc/HumidityControlModeCC.d.ts.map +0 -1
- package/build/cc/HumidityControlModeCC.js +0 -308
- package/build/cc/HumidityControlModeCC.js.map +0 -1
- package/build/cc/HumidityControlOperatingStateCC.d.ts +0 -60
- package/build/cc/HumidityControlOperatingStateCC.d.ts.map +0 -1
- package/build/cc/HumidityControlOperatingStateCC.js +0 -140
- package/build/cc/HumidityControlOperatingStateCC.js.map +0 -1
- package/build/cc/HumidityControlSetpointCC.d.ts +0 -209
- package/build/cc/HumidityControlSetpointCC.d.ts.map +0 -1
- package/build/cc/HumidityControlSetpointCC.js +0 -648
- package/build/cc/HumidityControlSetpointCC.js.map +0 -1
- package/build/cc/InclusionControllerCC.d.ts +0 -42
- package/build/cc/InclusionControllerCC.d.ts.map +0 -1
- package/build/cc/InclusionControllerCC.js +0 -136
- package/build/cc/InclusionControllerCC.js.map +0 -1
- package/build/cc/IndicatorCC.d.ts +0 -338
- package/build/cc/IndicatorCC.d.ts.map +0 -1
- package/build/cc/IndicatorCC.js +0 -1320
- package/build/cc/IndicatorCC.js.map +0 -1
- package/build/cc/IrrigationCC.d.ts +0 -1496
- package/build/cc/IrrigationCC.d.ts.map +0 -1
- package/build/cc/IrrigationCC.js +0 -2041
- package/build/cc/IrrigationCC.js.map +0 -1
- package/build/cc/LanguageCC.d.ts +0 -101
- package/build/cc/LanguageCC.d.ts.map +0 -1
- package/build/cc/LanguageCC.js +0 -246
- package/build/cc/LanguageCC.js.map +0 -1
- package/build/cc/LockCC.d.ts +0 -73
- package/build/cc/LockCC.d.ts.map +0 -1
- package/build/cc/LockCC.js +0 -200
- package/build/cc/LockCC.js.map +0 -1
- package/build/cc/ManufacturerProprietaryCC.d.ts +0 -32
- package/build/cc/ManufacturerProprietaryCC.d.ts.map +0 -1
- package/build/cc/ManufacturerProprietaryCC.js +0 -204
- package/build/cc/ManufacturerProprietaryCC.js.map +0 -1
- package/build/cc/ManufacturerSpecificCC.d.ts +0 -171
- package/build/cc/ManufacturerSpecificCC.d.ts.map +0 -1
- package/build/cc/ManufacturerSpecificCC.js +0 -318
- package/build/cc/ManufacturerSpecificCC.js.map +0 -1
- package/build/cc/MeterCC.d.ts +0 -318
- package/build/cc/MeterCC.d.ts.map +0 -1
- package/build/cc/MeterCC.js +0 -1312
- package/build/cc/MeterCC.js.map +0 -1
- package/build/cc/MultiChannelAssociationCC.d.ts +0 -241
- package/build/cc/MultiChannelAssociationCC.d.ts.map +0 -1
- package/build/cc/MultiChannelAssociationCC.js +0 -1007
- package/build/cc/MultiChannelAssociationCC.js.map +0 -1
- package/build/cc/MultiChannelCC.d.ts +0 -394
- package/build/cc/MultiChannelCC.d.ts.map +0 -1
- package/build/cc/MultiChannelCC.js +0 -1130
- package/build/cc/MultiChannelCC.js.map +0 -1
- package/build/cc/MultiCommandCC.d.ts +0 -27
- package/build/cc/MultiCommandCC.d.ts.map +0 -1
- package/build/cc/MultiCommandCC.js +0 -145
- package/build/cc/MultiCommandCC.js.map +0 -1
- package/build/cc/MultilevelSensorCC.d.ts +0 -185
- package/build/cc/MultilevelSensorCC.d.ts.map +0 -1
- package/build/cc/MultilevelSensorCC.js +0 -756
- package/build/cc/MultilevelSensorCC.js.map +0 -1
- package/build/cc/MultilevelSwitchCC.d.ts +0 -357
- package/build/cc/MultilevelSwitchCC.d.ts.map +0 -1
- package/build/cc/MultilevelSwitchCC.js +0 -813
- package/build/cc/MultilevelSwitchCC.js.map +0 -1
- package/build/cc/NoOperationCC.d.ts +0 -9
- package/build/cc/NoOperationCC.d.ts.map +0 -1
- package/build/cc/NoOperationCC.js +0 -42
- package/build/cc/NoOperationCC.js.map +0 -1
- package/build/cc/NodeNamingCC.d.ts +0 -118
- package/build/cc/NodeNamingCC.d.ts.map +0 -1
- package/build/cc/NodeNamingCC.js +0 -348
- package/build/cc/NodeNamingCC.js.map +0 -1
- package/build/cc/NotificationCC.d.ts +0 -479
- package/build/cc/NotificationCC.d.ts.map +0 -1
- package/build/cc/NotificationCC.js +0 -1379
- package/build/cc/NotificationCC.js.map +0 -1
- package/build/cc/PowerlevelCC.d.ts +0 -82
- package/build/cc/PowerlevelCC.d.ts.map +0 -1
- package/build/cc/PowerlevelCC.js +0 -488
- package/build/cc/PowerlevelCC.js.map +0 -1
- package/build/cc/ProtectionCC.d.ts +0 -325
- package/build/cc/ProtectionCC.d.ts.map +0 -1
- package/build/cc/ProtectionCC.js +0 -672
- package/build/cc/ProtectionCC.js.map +0 -1
- package/build/cc/SceneActivationCC.d.ts +0 -89
- package/build/cc/SceneActivationCC.d.ts.map +0 -1
- package/build/cc/SceneActivationCC.js +0 -169
- package/build/cc/SceneActivationCC.js.map +0 -1
- package/build/cc/SceneActuatorConfigurationCC.d.ts +0 -120
- package/build/cc/SceneActuatorConfigurationCC.d.ts.map +0 -1
- package/build/cc/SceneActuatorConfigurationCC.js +0 -377
- package/build/cc/SceneActuatorConfigurationCC.js.map +0 -1
- package/build/cc/SceneControllerConfigurationCC.d.ts +0 -129
- package/build/cc/SceneControllerConfigurationCC.d.ts.map +0 -1
- package/build/cc/SceneControllerConfigurationCC.js +0 -449
- package/build/cc/SceneControllerConfigurationCC.js.map +0 -1
- package/build/cc/ScheduleEntryLockCC.d.ts +0 -434
- package/build/cc/ScheduleEntryLockCC.d.ts.map +0 -1
- package/build/cc/ScheduleEntryLockCC.js +0 -1829
- package/build/cc/ScheduleEntryLockCC.js.map +0 -1
- package/build/cc/Security2CC.d.ts +0 -251
- package/build/cc/Security2CC.d.ts.map +0 -1
- package/build/cc/Security2CC.js +0 -1817
- package/build/cc/Security2CC.js.map +0 -1
- package/build/cc/SecurityCC.d.ts +0 -128
- package/build/cc/SecurityCC.d.ts.map +0 -1
- package/build/cc/SecurityCC.js +0 -803
- package/build/cc/SecurityCC.js.map +0 -1
- package/build/cc/SoundSwitchCC.d.ts +0 -232
- package/build/cc/SoundSwitchCC.d.ts.map +0 -1
- package/build/cc/SoundSwitchCC.js +0 -636
- package/build/cc/SoundSwitchCC.js.map +0 -1
- package/build/cc/SupervisionCC.d.ts +0 -104
- package/build/cc/SupervisionCC.d.ts.map +0 -1
- package/build/cc/SupervisionCC.js +0 -322
- package/build/cc/SupervisionCC.js.map +0 -1
- package/build/cc/ThermostatFanModeCC.d.ts +0 -141
- package/build/cc/ThermostatFanModeCC.d.ts.map +0 -1
- package/build/cc/ThermostatFanModeCC.js +0 -362
- package/build/cc/ThermostatFanModeCC.js.map +0 -1
- package/build/cc/ThermostatFanStateCC.d.ts +0 -60
- package/build/cc/ThermostatFanStateCC.d.ts.map +0 -1
- package/build/cc/ThermostatFanStateCC.js +0 -142
- package/build/cc/ThermostatFanStateCC.js.map +0 -1
- package/build/cc/ThermostatModeCC.d.ts +0 -150
- package/build/cc/ThermostatModeCC.d.ts.map +0 -1
- package/build/cc/ThermostatModeCC.js +0 -429
- package/build/cc/ThermostatModeCC.js.map +0 -1
- package/build/cc/ThermostatOperatingStateCC.d.ts +0 -61
- package/build/cc/ThermostatOperatingStateCC.d.ts.map +0 -1
- package/build/cc/ThermostatOperatingStateCC.js +0 -138
- package/build/cc/ThermostatOperatingStateCC.js.map +0 -1
- package/build/cc/ThermostatSetbackCC.d.ts +0 -46
- package/build/cc/ThermostatSetbackCC.d.ts.map +0 -1
- package/build/cc/ThermostatSetbackCC.js +0 -247
- package/build/cc/ThermostatSetbackCC.js.map +0 -1
- package/build/cc/ThermostatSetpointCC.d.ts +0 -197
- package/build/cc/ThermostatSetpointCC.d.ts.map +0 -1
- package/build/cc/ThermostatSetpointCC.js +0 -658
- package/build/cc/ThermostatSetpointCC.js.map +0 -1
- package/build/cc/TimeCC.d.ts +0 -88
- package/build/cc/TimeCC.d.ts.map +0 -1
- package/build/cc/TimeCC.js +0 -454
- package/build/cc/TimeCC.js.map +0 -1
- package/build/cc/TimeParametersCC.d.ts +0 -72
- package/build/cc/TimeParametersCC.d.ts.map +0 -1
- package/build/cc/TimeParametersCC.js +0 -303
- package/build/cc/TimeParametersCC.js.map +0 -1
- package/build/cc/TransportServiceCC.d.ts +0 -107
- package/build/cc/TransportServiceCC.d.ts.map +0 -1
- package/build/cc/TransportServiceCC.js +0 -426
- package/build/cc/TransportServiceCC.js.map +0 -1
- package/build/cc/UserCodeCC.d.ts +0 -683
- package/build/cc/UserCodeCC.d.ts.map +0 -1
- package/build/cc/UserCodeCC.js +0 -1699
- package/build/cc/UserCodeCC.js.map +0 -1
- package/build/cc/VersionCC.d.ts +0 -469
- package/build/cc/VersionCC.d.ts.map +0 -1
- package/build/cc/VersionCC.js +0 -865
- package/build/cc/VersionCC.js.map +0 -1
- package/build/cc/WakeUpCC.d.ts +0 -150
- package/build/cc/WakeUpCC.d.ts.map +0 -1
- package/build/cc/WakeUpCC.js +0 -441
- package/build/cc/WakeUpCC.js.map +0 -1
- package/build/cc/WindowCoveringCC.d.ts +0 -315
- package/build/cc/WindowCoveringCC.d.ts.map +0 -1
- package/build/cc/WindowCoveringCC.js +0 -783
- package/build/cc/WindowCoveringCC.js.map +0 -1
- package/build/cc/ZWaveLongRangeCC.d.ts +0 -4
- package/build/cc/ZWaveLongRangeCC.d.ts.map +0 -1
- package/build/cc/ZWaveLongRangeCC.js +0 -20
- package/build/cc/ZWaveLongRangeCC.js.map +0 -1
- package/build/cc/ZWavePlusCC.d.ts +0 -163
- package/build/cc/ZWavePlusCC.d.ts.map +0 -1
- package/build/cc/ZWavePlusCC.js +0 -270
- package/build/cc/ZWavePlusCC.js.map +0 -1
- package/build/cc/ZWaveProtocolCC.d.ts +0 -344
- package/build/cc/ZWaveProtocolCC.d.ts.map +0 -1
- package/build/cc/ZWaveProtocolCC.js +0 -1033
- package/build/cc/ZWaveProtocolCC.js.map +0 -1
- package/build/cc/index.d.ts +0 -132
- package/build/cc/index.d.ts.map +0 -1
- package/build/cc/index.js +0 -627
- package/build/cc/index.js.map +0 -1
- package/build/cc/manufacturerProprietary/Decorators.d.ts +0 -64
- package/build/cc/manufacturerProprietary/Decorators.d.ts.map +0 -1
- package/build/cc/manufacturerProprietary/Decorators.js +0 -83
- package/build/cc/manufacturerProprietary/Decorators.js.map +0 -1
- package/build/cc/manufacturerProprietary/FibaroCC.d.ts +0 -79
- package/build/cc/manufacturerProprietary/FibaroCC.d.ts.map +0 -1
- package/build/cc/manufacturerProprietary/FibaroCC.js +0 -392
- package/build/cc/manufacturerProprietary/FibaroCC.js.map +0 -1
- package/build/index.d.ts +0 -15
- package/build/index.d.ts.map +0 -1
- package/build/index.js +0 -52
- package/build/index.js.map +0 -1
- package/build/index_safe.d.ts +0 -3
- package/build/index_safe.d.ts.map +0 -1
- package/build/index_safe.js +0 -20
- package/build/index_safe.js.map +0 -1
- package/build/lib/API.d.ts +0 -271
- package/build/lib/API.d.ts.map +0 -1
- package/build/lib/API.js +0 -458
- package/build/lib/API.js.map +0 -1
- package/build/lib/CommandClass.d.ts +0 -234
- package/build/lib/CommandClass.d.ts.map +0 -1
- package/build/lib/CommandClass.js +0 -788
- package/build/lib/CommandClass.js.map +0 -1
- package/build/lib/CommandClassDecorators.d.ts +0 -112
- package/build/lib/CommandClassDecorators.d.ts.map +0 -1
- package/build/lib/CommandClassDecorators.js +0 -243
- package/build/lib/CommandClassDecorators.js.map +0 -1
- package/build/lib/EncapsulatingCommandClass.d.ts +0 -22
- package/build/lib/EncapsulatingCommandClass.d.ts.map +0 -1
- package/build/lib/EncapsulatingCommandClass.js +0 -61
- package/build/lib/EncapsulatingCommandClass.js.map +0 -1
- package/build/lib/ICommandClassContainer.d.ts.map +0 -1
- package/build/lib/ICommandClassContainer.js +0 -3
- package/build/lib/ICommandClassContainer.js.map +0 -1
- package/build/lib/NotificationEventPayload.d.ts +0 -10
- package/build/lib/NotificationEventPayload.d.ts.map +0 -1
- package/build/lib/NotificationEventPayload.js +0 -10
- package/build/lib/NotificationEventPayload.js.map +0 -1
- package/build/lib/Security2/Extension.d.ts.map +0 -1
- package/build/lib/Security2/Extension.js +0 -303
- package/build/lib/Security2/Extension.js.map +0 -1
- package/build/lib/Security2/shared.d.ts.map +0 -1
- package/build/lib/Security2/shared.js +0 -43
- package/build/lib/Security2/shared.js.map +0 -1
- package/build/lib/SetValueResult.d.ts.map +0 -1
- package/build/lib/SetValueResult.js +0 -60
- package/build/lib/SetValueResult.js.map +0 -1
- package/build/lib/Values.d.ts +0 -223
- package/build/lib/Values.d.ts.map +0 -1
- package/build/lib/Values.js +0 -172
- package/build/lib/Values.js.map +0 -1
- package/build/lib/_Types.d.ts.map +0 -1
- package/build/lib/_Types.js +0 -1443
- package/build/lib/_Types.js.map +0 -1
- package/build/lib/serializers.d.ts +0 -34
- package/build/lib/serializers.d.ts.map +0 -1
- package/build/lib/serializers.js +0 -107
- package/build/lib/serializers.js.map +0 -1
- package/build/lib/utils.d.ts +0 -17
- package/build/lib/utils.d.ts.map +0 -1
- package/build/lib/utils.js +0 -860
- package/build/lib/utils.js.map +0 -1
- /package/build/{lib → cjs/lib}/ICommandClassContainer.d.ts +0 -0
- /package/build/{lib → cjs/lib}/Security2/Extension.d.ts +0 -0
- /package/build/{lib → cjs/lib}/Security2/shared.d.ts +0 -0
- /package/build/{lib → cjs/lib}/SetValueResult.d.ts +0 -0
- /package/build/{lib → cjs/lib}/_Types.d.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/cc/HumidityControlModeCC.ts"],
|
|
4
|
+
"sourcesContent": ["import {\n\tCommandClasses,\n\ttype MaybeNotKnown,\n\ttype MessageOrCCLogEntry,\n\tMessagePriority,\n\ttype SupervisionResult,\n\tValueMetadata,\n\ttype WithAddress,\n\tZWaveError,\n\tZWaveErrorCodes,\n\tenumValuesToMetadataStates,\n\tparseBitMask,\n\tsupervisedCommandSucceeded,\n\tvalidatePayload,\n} from \"@zwave-js/core/safe\";\nimport type {\n\tCCEncodingContext,\n\tCCParsingContext,\n\tGetValueDB,\n} from \"@zwave-js/host/safe\";\nimport { Bytes } from \"@zwave-js/shared/safe\";\nimport { getEnumMemberName } from \"@zwave-js/shared/safe\";\nimport { validateArgs } from \"@zwave-js/transformers\";\nimport {\n\tCCAPI,\n\tPOLL_VALUE,\n\ttype PollValueImplementation,\n\tSET_VALUE,\n\ttype SetValueImplementation,\n\tthrowUnsupportedProperty,\n\tthrowWrongValueType,\n} from \"../lib/API.js\";\nimport {\n\ttype CCRaw,\n\tCommandClass,\n\ttype InterviewContext,\n\ttype PersistValuesContext,\n\ttype RefreshValuesContext,\n} from \"../lib/CommandClass.js\";\nimport {\n\tAPI,\n\tCCCommand,\n\tccValue,\n\tccValues,\n\tcommandClass,\n\texpectedCCResponse,\n\timplementedVersion,\n\tuseSupervision,\n} from \"../lib/CommandClassDecorators.js\";\nimport { V } from \"../lib/Values.js\";\nimport {\n\tHumidityControlMode,\n\tHumidityControlModeCommand,\n} from \"../lib/_Types.js\";\n\nexport const HumidityControlModeCCValues = Object.freeze({\n\t...V.defineStaticCCValues(CommandClasses[\"Humidity Control Mode\"], {\n\t\t...V.staticProperty(\n\t\t\t\"mode\",\n\t\t\t{\n\t\t\t\t...ValueMetadata.UInt8,\n\t\t\t\tstates: enumValuesToMetadataStates(HumidityControlMode),\n\t\t\t\tlabel: \"Humidity control mode\",\n\t\t\t} as const,\n\t\t),\n\n\t\t...V.staticProperty(\"supportedModes\", undefined, { internal: true }),\n\t}),\n});\n\n@API(CommandClasses[\"Humidity Control Mode\"])\nexport class HumidityControlModeCCAPI extends CCAPI {\n\tpublic supportsCommand(\n\t\tcmd: HumidityControlModeCommand,\n\t): MaybeNotKnown<boolean> {\n\t\tswitch (cmd) {\n\t\t\tcase HumidityControlModeCommand.Get:\n\t\t\tcase HumidityControlModeCommand.SupportedGet:\n\t\t\t\treturn this.isSinglecast();\n\t\t\tcase HumidityControlModeCommand.Set:\n\t\t\t\treturn true; // This is mandatory\n\t\t}\n\t\treturn super.supportsCommand(cmd);\n\t}\n\n\tprotected override get [SET_VALUE](): SetValueImplementation {\n\t\treturn async function(\n\t\t\tthis: HumidityControlModeCCAPI,\n\t\t\t{ property },\n\t\t\tvalue,\n\t\t) {\n\t\t\tif (property === \"mode\") {\n\t\t\t\tif (typeof value !== \"number\") {\n\t\t\t\t\tthrowWrongValueType(\n\t\t\t\t\t\tthis.ccId,\n\t\t\t\t\t\tproperty,\n\t\t\t\t\t\t\"number\",\n\t\t\t\t\t\ttypeof value,\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthrowUnsupportedProperty(this.ccId, property);\n\t\t\t}\n\n\t\t\tconst result = await this.set(value);\n\n\t\t\t// Verify the change after a delay, unless the command was supervised and successful\n\t\t\tif (this.isSinglecast() && !supervisedCommandSucceeded(result)) {\n\t\t\t\tthis.schedulePoll({ property }, value);\n\t\t\t}\n\n\t\t\treturn result;\n\t\t};\n\t}\n\n\tprotected get [POLL_VALUE](): PollValueImplementation {\n\t\treturn async function(this: HumidityControlModeCCAPI, { property }) {\n\t\t\tswitch (property) {\n\t\t\t\tcase \"mode\":\n\t\t\t\t\treturn this.get();\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrowUnsupportedProperty(this.ccId, property);\n\t\t\t}\n\t\t};\n\t}\n\n\tpublic async get(): Promise<MaybeNotKnown<HumidityControlMode>> {\n\t\tthis.assertSupportsCommand(\n\t\t\tHumidityControlModeCommand,\n\t\t\tHumidityControlModeCommand.Get,\n\t\t);\n\n\t\tconst cc = new HumidityControlModeCCGet({\n\t\t\tnodeId: this.endpoint.nodeId,\n\t\t\tendpointIndex: this.endpoint.index,\n\t\t});\n\t\tconst response = await this.host.sendCommand<\n\t\t\tHumidityControlModeCCReport\n\t\t>(\n\t\t\tcc,\n\t\t\tthis.commandOptions,\n\t\t);\n\t\tif (response) {\n\t\t\treturn response?.mode;\n\t\t}\n\t}\n\n\t@validateArgs({ strictEnums: true })\n\tpublic async set(\n\t\tmode: HumidityControlMode,\n\t): Promise<SupervisionResult | undefined> {\n\t\tthis.assertSupportsCommand(\n\t\t\tHumidityControlModeCommand,\n\t\t\tHumidityControlModeCommand.Set,\n\t\t);\n\n\t\tconst cc = new HumidityControlModeCCSet({\n\t\t\tnodeId: this.endpoint.nodeId,\n\t\t\tendpointIndex: this.endpoint.index,\n\t\t\tmode,\n\t\t});\n\t\treturn this.host.sendCommand(cc, this.commandOptions);\n\t}\n\n\tpublic async getSupportedModes(): Promise<\n\t\tMaybeNotKnown<readonly HumidityControlMode[]>\n\t> {\n\t\tthis.assertSupportsCommand(\n\t\t\tHumidityControlModeCommand,\n\t\t\tHumidityControlModeCommand.SupportedGet,\n\t\t);\n\n\t\tconst cc = new HumidityControlModeCCSupportedGet({\n\t\t\tnodeId: this.endpoint.nodeId,\n\t\t\tendpointIndex: this.endpoint.index,\n\t\t});\n\t\tconst response = await this.host.sendCommand<\n\t\t\tHumidityControlModeCCSupportedReport\n\t\t>(\n\t\t\tcc,\n\t\t\tthis.commandOptions,\n\t\t);\n\t\treturn response?.supportedModes;\n\t}\n}\n\n@commandClass(CommandClasses[\"Humidity Control Mode\"])\n@implementedVersion(1)\n@ccValues(HumidityControlModeCCValues)\nexport class HumidityControlModeCC extends CommandClass {\n\tdeclare ccCommand: HumidityControlModeCommand;\n\n\tpublic async interview(\n\t\tctx: InterviewContext,\n\t): Promise<void> {\n\t\tconst node = this.getNode(ctx)!;\n\t\tconst endpoint = this.getEndpoint(ctx)!;\n\t\tconst api = CCAPI.create(\n\t\t\tCommandClasses[\"Humidity Control Mode\"],\n\t\t\tctx,\n\t\t\tendpoint,\n\t\t).withOptions({\n\t\t\tpriority: MessagePriority.NodeQuery,\n\t\t});\n\n\t\tctx.logNode(node.id, {\n\t\t\tendpoint: this.endpointIndex,\n\t\t\tmessage: `Interviewing ${this.ccName}...`,\n\t\t\tdirection: \"none\",\n\t\t});\n\n\t\t// First query the possible modes to set the metadata\n\t\tctx.logNode(node.id, {\n\t\t\tendpoint: this.endpointIndex,\n\t\t\tmessage: \"querying supported humidity control modes...\",\n\t\t\tdirection: \"outbound\",\n\t\t});\n\n\t\tconst supportedModes = await api.getSupportedModes();\n\t\tif (supportedModes) {\n\t\t\tconst logMessage = `received supported humidity control modes:${\n\t\t\t\tsupportedModes\n\t\t\t\t\t.map(\n\t\t\t\t\t\t(mode) =>\n\t\t\t\t\t\t\t`\\n\u00B7 ${\n\t\t\t\t\t\t\t\tgetEnumMemberName(HumidityControlMode, mode)\n\t\t\t\t\t\t\t}`,\n\t\t\t\t\t)\n\t\t\t\t\t.join(\"\")\n\t\t\t}`;\n\t\t\tctx.logNode(node.id, {\n\t\t\t\tendpoint: this.endpointIndex,\n\t\t\t\tmessage: logMessage,\n\t\t\t\tdirection: \"inbound\",\n\t\t\t});\n\t\t} else {\n\t\t\tctx.logNode(node.id, {\n\t\t\t\tendpoint: this.endpointIndex,\n\t\t\t\tmessage:\n\t\t\t\t\t\"Querying supported humidity control modes timed out, skipping interview...\",\n\t\t\t\tlevel: \"warn\",\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\tawait this.refreshValues(ctx);\n\n\t\t// Remember that the interview is complete\n\t\tthis.setInterviewComplete(ctx, true);\n\t}\n\n\tpublic async refreshValues(\n\t\tctx: RefreshValuesContext,\n\t): Promise<void> {\n\t\tconst node = this.getNode(ctx)!;\n\t\tconst endpoint = this.getEndpoint(ctx)!;\n\t\tconst api = CCAPI.create(\n\t\t\tCommandClasses[\"Humidity Control Mode\"],\n\t\t\tctx,\n\t\t\tendpoint,\n\t\t).withOptions({\n\t\t\tpriority: MessagePriority.NodeQuery,\n\t\t});\n\n\t\t// Query the current status\n\t\tctx.logNode(node.id, {\n\t\t\tendpoint: this.endpointIndex,\n\t\t\tmessage: \"querying current humidity control mode...\",\n\t\t\tdirection: \"outbound\",\n\t\t});\n\t\tconst currentMode = await api.get();\n\t\tif (currentMode) {\n\t\t\tctx.logNode(node.id, {\n\t\t\t\tendpoint: this.endpointIndex,\n\t\t\t\tmessage: \"received current humidity control mode: \"\n\t\t\t\t\t+ getEnumMemberName(HumidityControlMode, currentMode),\n\t\t\t\tdirection: \"inbound\",\n\t\t\t});\n\t\t}\n\t}\n}\n\n// @publicAPI\nexport interface HumidityControlModeCCSetOptions {\n\tmode: HumidityControlMode;\n}\n\n@CCCommand(HumidityControlModeCommand.Set)\n@useSupervision()\nexport class HumidityControlModeCCSet extends HumidityControlModeCC {\n\tpublic constructor(\n\t\toptions: WithAddress<HumidityControlModeCCSetOptions>,\n\t) {\n\t\tsuper(options);\n\t\tthis.mode = options.mode;\n\t}\n\n\tpublic static from(\n\t\t_raw: CCRaw,\n\t\t_ctx: CCParsingContext,\n\t): HumidityControlModeCCSet {\n\t\t// TODO: Deserialize payload\n\t\tthrow new ZWaveError(\n\t\t\t`${this.name}: deserialization not implemented`,\n\t\t\tZWaveErrorCodes.Deserialization_NotImplemented,\n\t\t);\n\n\t\t// return new HumidityControlModeCCSet({\n\t\t// \tnodeId: ctx.sourceNodeId,\n\t\t// });\n\t}\n\n\tpublic mode: HumidityControlMode;\n\n\tpublic serialize(ctx: CCEncodingContext): Bytes {\n\t\tthis.payload = Bytes.from([this.mode & 0b1111]);\n\t\treturn super.serialize(ctx);\n\t}\n\n\tpublic toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry {\n\t\treturn {\n\t\t\t...super.toLogEntry(ctx),\n\t\t\tmessage: {\n\t\t\t\tmode: getEnumMemberName(HumidityControlMode, this.mode),\n\t\t\t},\n\t\t};\n\t}\n}\n\n// @publicAPI\nexport interface HumidityControlModeCCReportOptions {\n\tmode: HumidityControlMode;\n}\n\n@CCCommand(HumidityControlModeCommand.Report)\nexport class HumidityControlModeCCReport extends HumidityControlModeCC {\n\tpublic constructor(\n\t\toptions: WithAddress<HumidityControlModeCCReportOptions>,\n\t) {\n\t\tsuper(options);\n\n\t\t// TODO: Check implementation:\n\t\tthis.mode = options.mode;\n\t}\n\n\tpublic static from(\n\t\traw: CCRaw,\n\t\tctx: CCParsingContext,\n\t): HumidityControlModeCCReport {\n\t\tvalidatePayload(raw.payload.length >= 1);\n\t\tconst mode: HumidityControlMode = raw.payload[0] & 0b1111;\n\n\t\treturn new HumidityControlModeCCReport({\n\t\t\tnodeId: ctx.sourceNodeId,\n\t\t\tmode,\n\t\t});\n\t}\n\n\t@ccValue(HumidityControlModeCCValues.mode)\n\tpublic readonly mode: HumidityControlMode;\n\n\tpublic toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry {\n\t\treturn {\n\t\t\t...super.toLogEntry(ctx),\n\t\t\tmessage: {\n\t\t\t\tmode: getEnumMemberName(HumidityControlMode, this.mode),\n\t\t\t},\n\t\t};\n\t}\n}\n\n@CCCommand(HumidityControlModeCommand.Get)\n@expectedCCResponse(HumidityControlModeCCReport)\nexport class HumidityControlModeCCGet extends HumidityControlModeCC {}\n\n// @publicAPI\nexport interface HumidityControlModeCCSupportedReportOptions {\n\tsupportedModes: HumidityControlMode[];\n}\n\n@CCCommand(HumidityControlModeCommand.SupportedReport)\nexport class HumidityControlModeCCSupportedReport\n\textends HumidityControlModeCC\n{\n\tpublic constructor(\n\t\toptions: WithAddress<HumidityControlModeCCSupportedReportOptions>,\n\t) {\n\t\tsuper(options);\n\n\t\t// TODO: Check implementation:\n\t\tthis.supportedModes = options.supportedModes;\n\t}\n\n\tpublic static from(\n\t\traw: CCRaw,\n\t\tctx: CCParsingContext,\n\t): HumidityControlModeCCSupportedReport {\n\t\tvalidatePayload(raw.payload.length >= 1);\n\t\tconst supportedModes: HumidityControlMode[] = parseBitMask(\n\t\t\traw.payload,\n\t\t\tHumidityControlMode.Off,\n\t\t);\n\t\tif (!supportedModes.includes(HumidityControlMode.Off)) {\n\t\t\tsupportedModes.unshift(HumidityControlMode.Off);\n\t\t}\n\n\t\treturn new HumidityControlModeCCSupportedReport({\n\t\t\tnodeId: ctx.sourceNodeId,\n\t\t\tsupportedModes,\n\t\t});\n\t}\n\n\tpublic persistValues(ctx: PersistValuesContext): boolean {\n\t\tif (!super.persistValues(ctx)) return false;\n\n\t\t// Use this information to create the metadata for the mode property\n\t\tconst modeValue = HumidityControlModeCCValues.mode;\n\t\tthis.setMetadata(ctx, modeValue, {\n\t\t\t...modeValue.meta,\n\t\t\tstates: enumValuesToMetadataStates(\n\t\t\t\tHumidityControlMode,\n\t\t\t\tthis.supportedModes,\n\t\t\t),\n\t\t});\n\n\t\treturn true;\n\t}\n\n\t@ccValue(HumidityControlModeCCValues.supportedModes)\n\tpublic supportedModes: HumidityControlMode[];\n\n\tpublic toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry {\n\t\treturn {\n\t\t\t...super.toLogEntry(ctx),\n\t\t\tmessage: {\n\t\t\t\t\"supported modes\": this.supportedModes\n\t\t\t\t\t.map(\n\t\t\t\t\t\t(mode) =>\n\t\t\t\t\t\t\t`\\n\u00B7 ${\n\t\t\t\t\t\t\t\tgetEnumMemberName(\n\t\t\t\t\t\t\t\t\tHumidityControlMode,\n\t\t\t\t\t\t\t\t\tmode,\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t}`,\n\t\t\t\t\t)\n\t\t\t\t\t.join(\"\"),\n\t\t\t},\n\t\t};\n\t}\n}\n\n@CCCommand(HumidityControlModeCommand.SupportedGet)\n@expectedCCResponse(HumidityControlModeCCSupportedReport)\nexport class HumidityControlModeCCSupportedGet extends HumidityControlModeCC {}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": ["import_safe", "HumidityControlModeCCAPI", "HumidityControlModeCC", "HumidityControlModeCCSet", "HumidityControlModeCCReport", "HumidityControlModeCCGet", "HumidityControlModeCCSupportedReport", "HumidityControlModeCCSupportedGet"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CommandClasses, type MaybeNotKnown, type MessageOrCCLogEntry, type WithAddress } from "@zwave-js/core/safe";
|
|
2
|
+
import type { CCParsingContext, GetValueDB } from "@zwave-js/host/safe";
|
|
3
|
+
import { CCAPI, POLL_VALUE, type PollValueImplementation } from "../lib/API.js";
|
|
4
|
+
import { type CCRaw, CommandClass, type InterviewContext, type RefreshValuesContext } from "../lib/CommandClass.js";
|
|
5
|
+
import { HumidityControlOperatingState, HumidityControlOperatingStateCommand } from "../lib/_Types.js";
|
|
6
|
+
export declare const HumidityControlOperatingStateCCValues: Readonly<{
|
|
7
|
+
state: {
|
|
8
|
+
readonly id: {
|
|
9
|
+
commandClass: (typeof CommandClasses)["Humidity Control Operating State"];
|
|
10
|
+
property: "state";
|
|
11
|
+
};
|
|
12
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
13
|
+
readonly commandClass: (typeof CommandClasses)["Humidity Control Operating State"];
|
|
14
|
+
readonly endpoint: number;
|
|
15
|
+
readonly property: "state";
|
|
16
|
+
};
|
|
17
|
+
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
18
|
+
readonly meta: {
|
|
19
|
+
readonly states: {
|
|
20
|
+
[x: number]: string;
|
|
21
|
+
};
|
|
22
|
+
readonly label: "Humidity control operating state";
|
|
23
|
+
readonly writeable: false;
|
|
24
|
+
readonly min: 0;
|
|
25
|
+
readonly max: 255;
|
|
26
|
+
readonly type: "number";
|
|
27
|
+
readonly readable: true;
|
|
28
|
+
};
|
|
29
|
+
readonly options: {
|
|
30
|
+
readonly internal: false;
|
|
31
|
+
readonly minVersion: 1;
|
|
32
|
+
readonly secret: false;
|
|
33
|
+
readonly stateful: true;
|
|
34
|
+
readonly supportsEndpoints: true;
|
|
35
|
+
readonly autoCreate: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
export declare class HumidityControlOperatingStateCCAPI extends CCAPI {
|
|
40
|
+
supportsCommand(cmd: HumidityControlOperatingStateCommand): MaybeNotKnown<boolean>;
|
|
41
|
+
protected get [POLL_VALUE](): PollValueImplementation;
|
|
42
|
+
get(): Promise<HumidityControlOperatingState | undefined>;
|
|
43
|
+
}
|
|
44
|
+
export declare class HumidityControlOperatingStateCC extends CommandClass {
|
|
45
|
+
ccCommand: HumidityControlOperatingStateCommand;
|
|
46
|
+
interview(ctx: InterviewContext): Promise<void>;
|
|
47
|
+
refreshValues(ctx: RefreshValuesContext): Promise<void>;
|
|
48
|
+
}
|
|
49
|
+
export interface HumidityControlOperatingStateCCReportOptions {
|
|
50
|
+
state: HumidityControlOperatingState;
|
|
51
|
+
}
|
|
52
|
+
export declare class HumidityControlOperatingStateCCReport extends HumidityControlOperatingStateCC {
|
|
53
|
+
constructor(options: WithAddress<HumidityControlOperatingStateCCReportOptions>);
|
|
54
|
+
static from(raw: CCRaw, ctx: CCParsingContext): HumidityControlOperatingStateCCReport;
|
|
55
|
+
readonly state: HumidityControlOperatingState;
|
|
56
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
57
|
+
}
|
|
58
|
+
export declare class HumidityControlOperatingStateCCGet extends HumidityControlOperatingStateCC {
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=HumidityControlOperatingStateCC.d.ts.map
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var HumidityControlOperatingStateCC_exports = {};
|
|
20
|
+
__export(HumidityControlOperatingStateCC_exports, {
|
|
21
|
+
HumidityControlOperatingStateCC: () => HumidityControlOperatingStateCC,
|
|
22
|
+
HumidityControlOperatingStateCCAPI: () => HumidityControlOperatingStateCCAPI,
|
|
23
|
+
HumidityControlOperatingStateCCGet: () => HumidityControlOperatingStateCCGet,
|
|
24
|
+
HumidityControlOperatingStateCCReport: () => HumidityControlOperatingStateCCReport,
|
|
25
|
+
HumidityControlOperatingStateCCValues: () => HumidityControlOperatingStateCCValues
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(HumidityControlOperatingStateCC_exports);
|
|
28
|
+
var import_safe = require("@zwave-js/core/safe");
|
|
29
|
+
var import_safe2 = require("@zwave-js/shared/safe");
|
|
30
|
+
var import_API = require("../lib/API.js");
|
|
31
|
+
var import_CommandClass = require("../lib/CommandClass.js");
|
|
32
|
+
var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
|
|
33
|
+
var import_Values = require("../lib/Values.js");
|
|
34
|
+
var import_Types = require("../lib/_Types.js");
|
|
35
|
+
var __decorate = function(decorators, target, key, desc) {
|
|
36
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
37
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
38
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
39
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
40
|
+
};
|
|
41
|
+
var HumidityControlOperatingStateCCReport_1;
|
|
42
|
+
const HumidityControlOperatingStateCCValues = Object.freeze({
|
|
43
|
+
...import_Values.V.defineStaticCCValues(import_safe.CommandClasses["Humidity Control Operating State"], {
|
|
44
|
+
...import_Values.V.staticProperty("state", {
|
|
45
|
+
...import_safe.ValueMetadata.ReadOnlyUInt8,
|
|
46
|
+
states: (0, import_safe.enumValuesToMetadataStates)(import_Types.HumidityControlOperatingState),
|
|
47
|
+
label: "Humidity control operating state"
|
|
48
|
+
})
|
|
49
|
+
})
|
|
50
|
+
});
|
|
51
|
+
let HumidityControlOperatingStateCCAPI = class HumidityControlOperatingStateCCAPI2 extends import_API.CCAPI {
|
|
52
|
+
supportsCommand(cmd) {
|
|
53
|
+
switch (cmd) {
|
|
54
|
+
case import_Types.HumidityControlOperatingStateCommand.Get:
|
|
55
|
+
return this.isSinglecast();
|
|
56
|
+
}
|
|
57
|
+
return super.supportsCommand(cmd);
|
|
58
|
+
}
|
|
59
|
+
get [import_API.POLL_VALUE]() {
|
|
60
|
+
return async function({ property }) {
|
|
61
|
+
switch (property) {
|
|
62
|
+
case "state":
|
|
63
|
+
return this.get();
|
|
64
|
+
default:
|
|
65
|
+
(0, import_API.throwUnsupportedProperty)(this.ccId, property);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
async get() {
|
|
70
|
+
this.assertSupportsCommand(import_Types.HumidityControlOperatingStateCommand, import_Types.HumidityControlOperatingStateCommand.Get);
|
|
71
|
+
const cc = new HumidityControlOperatingStateCCGet({
|
|
72
|
+
nodeId: this.endpoint.nodeId,
|
|
73
|
+
endpointIndex: this.endpoint.index
|
|
74
|
+
});
|
|
75
|
+
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
76
|
+
if (response) {
|
|
77
|
+
return response?.state;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
HumidityControlOperatingStateCCAPI = __decorate([
|
|
82
|
+
(0, import_CommandClassDecorators.API)(import_safe.CommandClasses["Humidity Control Operating State"])
|
|
83
|
+
], HumidityControlOperatingStateCCAPI);
|
|
84
|
+
let HumidityControlOperatingStateCC = class HumidityControlOperatingStateCC2 extends import_CommandClass.CommandClass {
|
|
85
|
+
async interview(ctx) {
|
|
86
|
+
const node = this.getNode(ctx);
|
|
87
|
+
ctx.logNode(node.id, {
|
|
88
|
+
endpoint: this.endpointIndex,
|
|
89
|
+
message: `Interviewing ${this.ccName}...`,
|
|
90
|
+
direction: "none"
|
|
91
|
+
});
|
|
92
|
+
await this.refreshValues(ctx);
|
|
93
|
+
this.setInterviewComplete(ctx, true);
|
|
94
|
+
}
|
|
95
|
+
async refreshValues(ctx) {
|
|
96
|
+
const node = this.getNode(ctx);
|
|
97
|
+
const endpoint = this.getEndpoint(ctx);
|
|
98
|
+
const api = import_API.CCAPI.create(import_safe.CommandClasses["Humidity Control Operating State"], ctx, endpoint).withOptions({
|
|
99
|
+
priority: import_safe.MessagePriority.NodeQuery
|
|
100
|
+
});
|
|
101
|
+
ctx.logNode(node.id, {
|
|
102
|
+
endpoint: this.endpointIndex,
|
|
103
|
+
message: "querying current humidity control operating state...",
|
|
104
|
+
direction: "outbound"
|
|
105
|
+
});
|
|
106
|
+
const currentStatus = await api.get();
|
|
107
|
+
if (currentStatus) {
|
|
108
|
+
ctx.logNode(node.id, {
|
|
109
|
+
endpoint: this.endpointIndex,
|
|
110
|
+
message: "received current humidity control operating state: " + (0, import_safe2.getEnumMemberName)(import_Types.HumidityControlOperatingState, currentStatus),
|
|
111
|
+
direction: "inbound"
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
HumidityControlOperatingStateCC = __decorate([
|
|
117
|
+
(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Humidity Control Operating State"]),
|
|
118
|
+
(0, import_CommandClassDecorators.implementedVersion)(1),
|
|
119
|
+
(0, import_CommandClassDecorators.ccValues)(HumidityControlOperatingStateCCValues)
|
|
120
|
+
], HumidityControlOperatingStateCC);
|
|
121
|
+
let HumidityControlOperatingStateCCReport = HumidityControlOperatingStateCCReport_1 = class HumidityControlOperatingStateCCReport2 extends HumidityControlOperatingStateCC {
|
|
122
|
+
constructor(options) {
|
|
123
|
+
super(options);
|
|
124
|
+
this.state = options.state;
|
|
125
|
+
}
|
|
126
|
+
static from(raw, ctx) {
|
|
127
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 1);
|
|
128
|
+
const state = raw.payload[0] & 15;
|
|
129
|
+
return new HumidityControlOperatingStateCCReport_1({
|
|
130
|
+
nodeId: ctx.sourceNodeId,
|
|
131
|
+
state
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
state;
|
|
135
|
+
toLogEntry(ctx) {
|
|
136
|
+
return {
|
|
137
|
+
...super.toLogEntry(ctx),
|
|
138
|
+
message: {
|
|
139
|
+
state: (0, import_safe2.getEnumMemberName)(import_Types.HumidityControlOperatingState, this.state)
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, import_CommandClassDecorators.ccValue)(HumidityControlOperatingStateCCValues.state)
|
|
146
|
+
], HumidityControlOperatingStateCCReport.prototype, "state", void 0);
|
|
147
|
+
HumidityControlOperatingStateCCReport = HumidityControlOperatingStateCCReport_1 = __decorate([
|
|
148
|
+
(0, import_CommandClassDecorators.CCCommand)(import_Types.HumidityControlOperatingStateCommand.Report)
|
|
149
|
+
], HumidityControlOperatingStateCCReport);
|
|
150
|
+
let HumidityControlOperatingStateCCGet = class HumidityControlOperatingStateCCGet2 extends HumidityControlOperatingStateCC {
|
|
151
|
+
};
|
|
152
|
+
HumidityControlOperatingStateCCGet = __decorate([
|
|
153
|
+
(0, import_CommandClassDecorators.CCCommand)(import_Types.HumidityControlOperatingStateCommand.Get),
|
|
154
|
+
(0, import_CommandClassDecorators.expectedCCResponse)(HumidityControlOperatingStateCCReport)
|
|
155
|
+
], HumidityControlOperatingStateCCGet);
|
|
156
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
157
|
+
0 && (module.exports = {
|
|
158
|
+
HumidityControlOperatingStateCC,
|
|
159
|
+
HumidityControlOperatingStateCCAPI,
|
|
160
|
+
HumidityControlOperatingStateCCGet,
|
|
161
|
+
HumidityControlOperatingStateCCReport,
|
|
162
|
+
HumidityControlOperatingStateCCValues
|
|
163
|
+
});
|
|
164
|
+
//# sourceMappingURL=HumidityControlOperatingStateCC.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/cc/HumidityControlOperatingStateCC.ts"],
|
|
4
|
+
"sourcesContent": ["import {\n\tCommandClasses,\n\ttype MaybeNotKnown,\n\ttype MessageOrCCLogEntry,\n\tMessagePriority,\n\tValueMetadata,\n\ttype WithAddress,\n\tenumValuesToMetadataStates,\n\tvalidatePayload,\n} from \"@zwave-js/core/safe\";\nimport type { CCParsingContext, GetValueDB } from \"@zwave-js/host/safe\";\nimport { getEnumMemberName } from \"@zwave-js/shared/safe\";\nimport {\n\tCCAPI,\n\tPOLL_VALUE,\n\ttype PollValueImplementation,\n\tthrowUnsupportedProperty,\n} from \"../lib/API.js\";\nimport {\n\ttype CCRaw,\n\tCommandClass,\n\ttype InterviewContext,\n\ttype RefreshValuesContext,\n} from \"../lib/CommandClass.js\";\nimport {\n\tAPI,\n\tCCCommand,\n\tccValue,\n\tccValues,\n\tcommandClass,\n\texpectedCCResponse,\n\timplementedVersion,\n} from \"../lib/CommandClassDecorators.js\";\nimport { V } from \"../lib/Values.js\";\nimport {\n\tHumidityControlOperatingState,\n\tHumidityControlOperatingStateCommand,\n} from \"../lib/_Types.js\";\n\nexport const HumidityControlOperatingStateCCValues = Object.freeze({\n\t...V.defineStaticCCValues(\n\t\tCommandClasses[\"Humidity Control Operating State\"],\n\t\t{\n\t\t\t...V.staticProperty(\n\t\t\t\t\"state\",\n\t\t\t\t{\n\t\t\t\t\t...ValueMetadata.ReadOnlyUInt8,\n\t\t\t\t\tstates: enumValuesToMetadataStates(\n\t\t\t\t\t\tHumidityControlOperatingState,\n\t\t\t\t\t),\n\t\t\t\t\tlabel: \"Humidity control operating state\",\n\t\t\t\t} as const,\n\t\t\t),\n\t\t},\n\t),\n});\n\n@API(CommandClasses[\"Humidity Control Operating State\"])\nexport class HumidityControlOperatingStateCCAPI extends CCAPI {\n\tpublic supportsCommand(\n\t\tcmd: HumidityControlOperatingStateCommand,\n\t): MaybeNotKnown<boolean> {\n\t\tswitch (cmd) {\n\t\t\tcase HumidityControlOperatingStateCommand.Get:\n\t\t\t\treturn this.isSinglecast();\n\t\t}\n\t\treturn super.supportsCommand(cmd);\n\t}\n\n\tprotected get [POLL_VALUE](): PollValueImplementation {\n\t\treturn async function(\n\t\t\tthis: HumidityControlOperatingStateCCAPI,\n\t\t\t{ property },\n\t\t) {\n\t\t\tswitch (property) {\n\t\t\t\tcase \"state\":\n\t\t\t\t\treturn this.get();\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrowUnsupportedProperty(this.ccId, property);\n\t\t\t}\n\t\t};\n\t}\n\n\tpublic async get(): Promise<HumidityControlOperatingState | undefined> {\n\t\tthis.assertSupportsCommand(\n\t\t\tHumidityControlOperatingStateCommand,\n\t\t\tHumidityControlOperatingStateCommand.Get,\n\t\t);\n\n\t\tconst cc = new HumidityControlOperatingStateCCGet({\n\t\t\tnodeId: this.endpoint.nodeId,\n\t\t\tendpointIndex: this.endpoint.index,\n\t\t});\n\t\tconst response = await this.host.sendCommand<\n\t\t\tHumidityControlOperatingStateCCReport\n\t\t>(\n\t\t\tcc,\n\t\t\tthis.commandOptions,\n\t\t);\n\t\tif (response) {\n\t\t\treturn response?.state;\n\t\t}\n\t}\n}\n\n@commandClass(CommandClasses[\"Humidity Control Operating State\"])\n@implementedVersion(1)\n@ccValues(HumidityControlOperatingStateCCValues)\nexport class HumidityControlOperatingStateCC extends CommandClass {\n\tdeclare ccCommand: HumidityControlOperatingStateCommand;\n\n\tpublic async interview(\n\t\tctx: InterviewContext,\n\t): Promise<void> {\n\t\tconst node = this.getNode(ctx)!;\n\n\t\tctx.logNode(node.id, {\n\t\t\tendpoint: this.endpointIndex,\n\t\t\tmessage: `Interviewing ${this.ccName}...`,\n\t\t\tdirection: \"none\",\n\t\t});\n\n\t\tawait this.refreshValues(ctx);\n\n\t\t// Remember that the interview is complete\n\t\tthis.setInterviewComplete(ctx, true);\n\t}\n\n\tpublic async refreshValues(\n\t\tctx: RefreshValuesContext,\n\t): Promise<void> {\n\t\tconst node = this.getNode(ctx)!;\n\t\tconst endpoint = this.getEndpoint(ctx)!;\n\t\tconst api = CCAPI.create(\n\t\t\tCommandClasses[\"Humidity Control Operating State\"],\n\t\t\tctx,\n\t\t\tendpoint,\n\t\t).withOptions({\n\t\t\tpriority: MessagePriority.NodeQuery,\n\t\t});\n\n\t\t// Query the current status\n\t\tctx.logNode(node.id, {\n\t\t\tendpoint: this.endpointIndex,\n\t\t\tmessage: \"querying current humidity control operating state...\",\n\t\t\tdirection: \"outbound\",\n\t\t});\n\t\tconst currentStatus = await api.get();\n\t\tif (currentStatus) {\n\t\t\tctx.logNode(node.id, {\n\t\t\t\tendpoint: this.endpointIndex,\n\t\t\t\tmessage: \"received current humidity control operating state: \"\n\t\t\t\t\t+ getEnumMemberName(\n\t\t\t\t\t\tHumidityControlOperatingState,\n\t\t\t\t\t\tcurrentStatus,\n\t\t\t\t\t),\n\t\t\t\tdirection: \"inbound\",\n\t\t\t});\n\t\t}\n\t}\n}\n\n// @publicAPI\nexport interface HumidityControlOperatingStateCCReportOptions {\n\tstate: HumidityControlOperatingState;\n}\n\n@CCCommand(HumidityControlOperatingStateCommand.Report)\nexport class HumidityControlOperatingStateCCReport\n\textends HumidityControlOperatingStateCC\n{\n\tpublic constructor(\n\t\toptions: WithAddress<HumidityControlOperatingStateCCReportOptions>,\n\t) {\n\t\tsuper(options);\n\n\t\t// TODO: Check implementation:\n\t\tthis.state = options.state;\n\t}\n\n\tpublic static from(\n\t\traw: CCRaw,\n\t\tctx: CCParsingContext,\n\t): HumidityControlOperatingStateCCReport {\n\t\tvalidatePayload(raw.payload.length >= 1);\n\t\tconst state: HumidityControlOperatingState = raw.payload[0] & 0b1111;\n\n\t\treturn new HumidityControlOperatingStateCCReport({\n\t\t\tnodeId: ctx.sourceNodeId,\n\t\t\tstate,\n\t\t});\n\t}\n\n\t@ccValue(HumidityControlOperatingStateCCValues.state)\n\tpublic readonly state: HumidityControlOperatingState;\n\n\tpublic toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry {\n\t\treturn {\n\t\t\t...super.toLogEntry(ctx),\n\t\t\tmessage: {\n\t\t\t\tstate: getEnumMemberName(\n\t\t\t\t\tHumidityControlOperatingState,\n\t\t\t\t\tthis.state,\n\t\t\t\t),\n\t\t\t},\n\t\t};\n\t}\n}\n\n@CCCommand(HumidityControlOperatingStateCommand.Get)\n@expectedCCResponse(HumidityControlOperatingStateCCReport)\nexport class HumidityControlOperatingStateCCGet\n\textends HumidityControlOperatingStateCC\n{}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": ["import_safe", "HumidityControlOperatingStateCCAPI", "HumidityControlOperatingStateCC", "HumidityControlOperatingStateCCReport", "HumidityControlOperatingStateCCGet"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { CommandClasses, type MaybeNotKnown, type MessageOrCCLogEntry, type Scale, type SupervisionResult, type WithAddress } from "@zwave-js/core/safe";
|
|
2
|
+
import type { CCEncodingContext, CCParsingContext, GetValueDB } from "@zwave-js/host/safe";
|
|
3
|
+
import { Bytes } from "@zwave-js/shared/safe";
|
|
4
|
+
import { CCAPI, POLL_VALUE, type PollValueImplementation, SET_VALUE, type SetValueImplementation } from "../lib/API.js";
|
|
5
|
+
import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
|
|
6
|
+
import { type HumidityControlSetpointCapabilities, HumidityControlSetpointCommand, HumidityControlSetpointType, type HumidityControlSetpointValue } from "../lib/_Types.js";
|
|
7
|
+
export declare const HumidityControlSetpointCCValues: Readonly<{
|
|
8
|
+
setpointScale: ((setpointType: number) => {
|
|
9
|
+
readonly meta: {
|
|
10
|
+
readonly label: `Setpoint scale (${string})`;
|
|
11
|
+
readonly writeable: false;
|
|
12
|
+
readonly min: 0;
|
|
13
|
+
readonly max: 255;
|
|
14
|
+
readonly type: "number";
|
|
15
|
+
readonly readable: true;
|
|
16
|
+
};
|
|
17
|
+
readonly id: {
|
|
18
|
+
commandClass: (typeof CommandClasses)["Humidity Control Setpoint"];
|
|
19
|
+
property: "setpointScale";
|
|
20
|
+
propertyKey: number;
|
|
21
|
+
};
|
|
22
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
23
|
+
readonly commandClass: (typeof CommandClasses)["Humidity Control Setpoint"];
|
|
24
|
+
readonly endpoint: number;
|
|
25
|
+
readonly property: "setpointScale";
|
|
26
|
+
readonly propertyKey: number;
|
|
27
|
+
};
|
|
28
|
+
}) & {
|
|
29
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
30
|
+
readonly options: {
|
|
31
|
+
readonly internal: false;
|
|
32
|
+
readonly minVersion: 1;
|
|
33
|
+
readonly secret: false;
|
|
34
|
+
readonly stateful: true;
|
|
35
|
+
readonly supportsEndpoints: true;
|
|
36
|
+
readonly autoCreate: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
setpoint: ((setpointType: number) => {
|
|
40
|
+
readonly meta: {
|
|
41
|
+
readonly label: `Setpoint (${string})`;
|
|
42
|
+
readonly ccSpecific: {
|
|
43
|
+
readonly setpointType: number;
|
|
44
|
+
};
|
|
45
|
+
readonly type: "number";
|
|
46
|
+
readonly readable: true;
|
|
47
|
+
readonly writeable: true;
|
|
48
|
+
};
|
|
49
|
+
readonly id: {
|
|
50
|
+
commandClass: (typeof CommandClasses)["Humidity Control Setpoint"];
|
|
51
|
+
property: "setpoint";
|
|
52
|
+
propertyKey: number;
|
|
53
|
+
};
|
|
54
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
55
|
+
readonly commandClass: (typeof CommandClasses)["Humidity Control Setpoint"];
|
|
56
|
+
readonly endpoint: number;
|
|
57
|
+
readonly property: "setpoint";
|
|
58
|
+
readonly propertyKey: number;
|
|
59
|
+
};
|
|
60
|
+
}) & {
|
|
61
|
+
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
62
|
+
readonly options: {
|
|
63
|
+
readonly internal: false;
|
|
64
|
+
readonly minVersion: 1;
|
|
65
|
+
readonly secret: false;
|
|
66
|
+
readonly stateful: true;
|
|
67
|
+
readonly supportsEndpoints: true;
|
|
68
|
+
readonly autoCreate: true;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
supportedSetpointTypes: {
|
|
72
|
+
readonly id: {
|
|
73
|
+
commandClass: (typeof CommandClasses)["Humidity Control Setpoint"];
|
|
74
|
+
property: "supportedSetpointTypes";
|
|
75
|
+
};
|
|
76
|
+
readonly endpoint: (endpoint?: number | undefined) => {
|
|
77
|
+
readonly commandClass: (typeof CommandClasses)["Humidity Control Setpoint"];
|
|
78
|
+
readonly endpoint: number;
|
|
79
|
+
readonly property: "supportedSetpointTypes";
|
|
80
|
+
};
|
|
81
|
+
readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
82
|
+
readonly meta: {
|
|
83
|
+
readonly type: "any";
|
|
84
|
+
readonly readable: true;
|
|
85
|
+
readonly writeable: true;
|
|
86
|
+
};
|
|
87
|
+
readonly options: {
|
|
88
|
+
readonly stateful: true;
|
|
89
|
+
readonly secret: false;
|
|
90
|
+
readonly minVersion: 1;
|
|
91
|
+
readonly supportsEndpoints: true;
|
|
92
|
+
readonly autoCreate: true;
|
|
93
|
+
readonly internal: true;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}>;
|
|
97
|
+
export declare class HumidityControlSetpointCCAPI extends CCAPI {
|
|
98
|
+
supportsCommand(cmd: HumidityControlSetpointCommand): MaybeNotKnown<boolean>;
|
|
99
|
+
protected get [SET_VALUE](): SetValueImplementation;
|
|
100
|
+
protected get [POLL_VALUE](): PollValueImplementation;
|
|
101
|
+
get(setpointType: HumidityControlSetpointType): Promise<MaybeNotKnown<HumidityControlSetpointValue>>;
|
|
102
|
+
set(setpointType: HumidityControlSetpointType, value: number, scale: number): Promise<SupervisionResult | undefined>;
|
|
103
|
+
getCapabilities(setpointType: HumidityControlSetpointType): Promise<MaybeNotKnown<HumidityControlSetpointCapabilities>>;
|
|
104
|
+
getSupportedSetpointTypes(): Promise<MaybeNotKnown<readonly HumidityControlSetpointType[]>>;
|
|
105
|
+
getSupportedScales(setpointType: HumidityControlSetpointType): Promise<MaybeNotKnown<readonly Scale[]>>;
|
|
106
|
+
}
|
|
107
|
+
export declare class HumidityControlSetpointCC extends CommandClass {
|
|
108
|
+
ccCommand: HumidityControlSetpointCommand;
|
|
109
|
+
translatePropertyKey(ctx: GetValueDB, property: string | number, propertyKey: string | number): string | undefined;
|
|
110
|
+
interview(ctx: InterviewContext): Promise<void>;
|
|
111
|
+
refreshValues(ctx: RefreshValuesContext): Promise<void>;
|
|
112
|
+
}
|
|
113
|
+
export interface HumidityControlSetpointCCSetOptions {
|
|
114
|
+
setpointType: HumidityControlSetpointType;
|
|
115
|
+
value: number;
|
|
116
|
+
scale: number;
|
|
117
|
+
}
|
|
118
|
+
export declare class HumidityControlSetpointCCSet extends HumidityControlSetpointCC {
|
|
119
|
+
constructor(options: WithAddress<HumidityControlSetpointCCSetOptions>);
|
|
120
|
+
static from(_raw: CCRaw, _ctx: CCParsingContext): HumidityControlSetpointCCSet;
|
|
121
|
+
setpointType: HumidityControlSetpointType;
|
|
122
|
+
value: number;
|
|
123
|
+
scale: number;
|
|
124
|
+
serialize(ctx: CCEncodingContext): Bytes;
|
|
125
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
126
|
+
}
|
|
127
|
+
export interface HumidityControlSetpointCCReportOptions {
|
|
128
|
+
type: HumidityControlSetpointType;
|
|
129
|
+
scale: number;
|
|
130
|
+
value: number;
|
|
131
|
+
}
|
|
132
|
+
export declare class HumidityControlSetpointCCReport extends HumidityControlSetpointCC {
|
|
133
|
+
constructor(options: WithAddress<HumidityControlSetpointCCReportOptions>);
|
|
134
|
+
static from(raw: CCRaw, ctx: CCParsingContext): HumidityControlSetpointCCReport;
|
|
135
|
+
persistValues(ctx: PersistValuesContext): boolean;
|
|
136
|
+
type: HumidityControlSetpointType;
|
|
137
|
+
scale: number;
|
|
138
|
+
value: number;
|
|
139
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
140
|
+
}
|
|
141
|
+
export interface HumidityControlSetpointCCGetOptions {
|
|
142
|
+
setpointType: HumidityControlSetpointType;
|
|
143
|
+
}
|
|
144
|
+
export declare class HumidityControlSetpointCCGet extends HumidityControlSetpointCC {
|
|
145
|
+
constructor(options: WithAddress<HumidityControlSetpointCCGetOptions>);
|
|
146
|
+
static from(_raw: CCRaw, _ctx: CCParsingContext): HumidityControlSetpointCCGet;
|
|
147
|
+
setpointType: HumidityControlSetpointType;
|
|
148
|
+
serialize(ctx: CCEncodingContext): Bytes;
|
|
149
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
150
|
+
}
|
|
151
|
+
export interface HumidityControlSetpointCCSupportedReportOptions {
|
|
152
|
+
supportedSetpointTypes: HumidityControlSetpointType[];
|
|
153
|
+
}
|
|
154
|
+
export declare class HumidityControlSetpointCCSupportedReport extends HumidityControlSetpointCC {
|
|
155
|
+
constructor(options: WithAddress<HumidityControlSetpointCCSupportedReportOptions>);
|
|
156
|
+
static from(raw: CCRaw, ctx: CCParsingContext): HumidityControlSetpointCCSupportedReport;
|
|
157
|
+
readonly supportedSetpointTypes: readonly HumidityControlSetpointType[];
|
|
158
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
159
|
+
}
|
|
160
|
+
export declare class HumidityControlSetpointCCSupportedGet extends HumidityControlSetpointCC {
|
|
161
|
+
}
|
|
162
|
+
export interface HumidityControlSetpointCCScaleSupportedReportOptions {
|
|
163
|
+
supportedScales: number[];
|
|
164
|
+
}
|
|
165
|
+
export declare class HumidityControlSetpointCCScaleSupportedReport extends HumidityControlSetpointCC {
|
|
166
|
+
constructor(options: WithAddress<HumidityControlSetpointCCScaleSupportedReportOptions>);
|
|
167
|
+
static from(raw: CCRaw, ctx: CCParsingContext): HumidityControlSetpointCCScaleSupportedReport;
|
|
168
|
+
readonly supportedScales: readonly number[];
|
|
169
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
170
|
+
}
|
|
171
|
+
export interface HumidityControlSetpointCCScaleSupportedGetOptions {
|
|
172
|
+
setpointType: HumidityControlSetpointType;
|
|
173
|
+
}
|
|
174
|
+
export declare class HumidityControlSetpointCCScaleSupportedGet extends HumidityControlSetpointCC {
|
|
175
|
+
constructor(options: WithAddress<HumidityControlSetpointCCScaleSupportedGetOptions>);
|
|
176
|
+
static from(_raw: CCRaw, _ctx: CCParsingContext): HumidityControlSetpointCCScaleSupportedGet;
|
|
177
|
+
setpointType: HumidityControlSetpointType;
|
|
178
|
+
serialize(ctx: CCEncodingContext): Bytes;
|
|
179
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
180
|
+
}
|
|
181
|
+
export interface HumidityControlSetpointCCCapabilitiesReportOptions {
|
|
182
|
+
type: HumidityControlSetpointType;
|
|
183
|
+
minValue: number;
|
|
184
|
+
maxValue: number;
|
|
185
|
+
minValueScale: number;
|
|
186
|
+
maxValueScale: number;
|
|
187
|
+
}
|
|
188
|
+
export declare class HumidityControlSetpointCCCapabilitiesReport extends HumidityControlSetpointCC {
|
|
189
|
+
constructor(options: WithAddress<HumidityControlSetpointCCCapabilitiesReportOptions>);
|
|
190
|
+
static from(raw: CCRaw, ctx: CCParsingContext): HumidityControlSetpointCCCapabilitiesReport;
|
|
191
|
+
persistValues(ctx: PersistValuesContext): boolean;
|
|
192
|
+
type: HumidityControlSetpointType;
|
|
193
|
+
minValue: number;
|
|
194
|
+
maxValue: number;
|
|
195
|
+
minValueScale: number;
|
|
196
|
+
maxValueScale: number;
|
|
197
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
198
|
+
}
|
|
199
|
+
export interface HumidityControlSetpointCCCapabilitiesGetOptions {
|
|
200
|
+
setpointType: HumidityControlSetpointType;
|
|
201
|
+
}
|
|
202
|
+
export declare class HumidityControlSetpointCCCapabilitiesGet extends HumidityControlSetpointCC {
|
|
203
|
+
constructor(options: WithAddress<HumidityControlSetpointCCCapabilitiesGetOptions>);
|
|
204
|
+
static from(_raw: CCRaw, _ctx: CCParsingContext): HumidityControlSetpointCCCapabilitiesGet;
|
|
205
|
+
setpointType: HumidityControlSetpointType;
|
|
206
|
+
serialize(ctx: CCEncodingContext): Bytes;
|
|
207
|
+
toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
|
|
208
|
+
}
|
|
209
|
+
//# sourceMappingURL=HumidityControlSetpointCC.d.ts.map
|