@zwave-js/cc 14.0.0-beta.1 → 14.0.0-beta.5
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 +510 -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 +877 -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 +887 -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 +748 -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 +478 -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 +590 -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 +546 -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 +472 -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 +208 -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 +584 -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 +646 -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 +330 -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 +1265 -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 +2477 -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 +168 -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 +1366 -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 +458 -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 +329 -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 +754 -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 +1322 -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 +91 -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 +449 -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 +250 -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 +821 -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 +251 -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 +1395 -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 +2224 -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 +364 -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 +322 -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 +269 -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 +440 -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 +1355 -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 +1090 -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 +1268 -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 +234 -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 +856 -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 +928 -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 +126 -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 +504 -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 +1399 -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 +657 -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 +859 -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 +261 -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 +473 -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 +526 -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 +2043 -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 +1853 -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 +977 -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 +853 -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 +398 -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 +495 -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 +252 -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 +559 -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 +248 -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 +366 -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 +792 -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 +635 -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 +413 -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 +522 -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 +1903 -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 +962 -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 +609 -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 +924 -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 +90 -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 +362 -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 +1638 -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 +533 -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 +108 -0
- package/build/cjs/lib/CommandClassDecorators.js +181 -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.d.ts +106 -0
- package/build/cjs/lib/Security2/Extension.js +424 -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 +490 -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 +847 -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 +889 -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 +751 -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 +468 -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 +578 -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 +515 -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 +441 -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 +187 -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 +541 -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 +607 -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 +294 -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 +1274 -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 +2666 -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 +138 -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 +1372 -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 +414 -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 +289 -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 +717 -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 +1311 -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 +60 -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 +412 -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 +210 -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 +805 -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 +211 -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 +1455 -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 +2239 -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 +325 -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 +282 -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 +252 -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 +404 -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 +1409 -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 +1094 -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 +1312 -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 +206 -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 +872 -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 +935 -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 +92 -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 +464 -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 +1481 -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 +611 -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 +830 -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 +223 -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 +462 -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 +534 -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 +2065 -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 +2041 -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 +989 -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 +796 -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 +396 -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 +463 -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 +212 -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 +530 -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 +208 -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 +333 -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 +786 -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 +590 -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 +385 -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 +523 -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 +1933 -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 +971 -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 +568 -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 +905 -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 +57 -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 +328 -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 +1520 -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 +489 -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 +108 -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 +380 -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 +0 -106
- 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/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,887 @@
|
|
|
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 AssociationGroupInfoCC_exports = {};
|
|
20
|
+
__export(AssociationGroupInfoCC_exports, {
|
|
21
|
+
AssociationGroupInfoCC: () => AssociationGroupInfoCC,
|
|
22
|
+
AssociationGroupInfoCCAPI: () => AssociationGroupInfoCCAPI,
|
|
23
|
+
AssociationGroupInfoCCCommandListGet: () => AssociationGroupInfoCCCommandListGet,
|
|
24
|
+
AssociationGroupInfoCCCommandListReport: () => AssociationGroupInfoCCCommandListReport,
|
|
25
|
+
AssociationGroupInfoCCInfoGet: () => AssociationGroupInfoCCInfoGet,
|
|
26
|
+
AssociationGroupInfoCCInfoReport: () => AssociationGroupInfoCCInfoReport,
|
|
27
|
+
AssociationGroupInfoCCNameGet: () => AssociationGroupInfoCCNameGet,
|
|
28
|
+
AssociationGroupInfoCCNameReport: () => AssociationGroupInfoCCNameReport,
|
|
29
|
+
AssociationGroupInfoCCValues: () => AssociationGroupInfoCCValues
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(AssociationGroupInfoCC_exports);
|
|
32
|
+
var import_safe = require("@zwave-js/core/safe");
|
|
33
|
+
var import_safe2 = require("@zwave-js/shared/safe");
|
|
34
|
+
var import_safe3 = require("@zwave-js/shared/safe");
|
|
35
|
+
var import_API = require("../lib/API.js");
|
|
36
|
+
var import_CommandClass = require("../lib/CommandClass.js");
|
|
37
|
+
var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
|
|
38
|
+
var import_Values = require("../lib/Values.js");
|
|
39
|
+
var import_Types = require("../lib/_Types.js");
|
|
40
|
+
var import_AssociationCC = require("./AssociationCC.js");
|
|
41
|
+
var import_MultiChannelAssociationCC = require("./MultiChannelAssociationCC.js");
|
|
42
|
+
var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
43
|
+
function accept(f) {
|
|
44
|
+
if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected");
|
|
45
|
+
return f;
|
|
46
|
+
}
|
|
47
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
48
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
49
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
50
|
+
var _, done = false;
|
|
51
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
52
|
+
var context = {};
|
|
53
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
54
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
55
|
+
context.addInitializer = function(f) {
|
|
56
|
+
if (done) throw new TypeError("Cannot add initializers after decoration has completed");
|
|
57
|
+
extraInitializers.push(accept(f || null));
|
|
58
|
+
};
|
|
59
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
60
|
+
if (kind === "accessor") {
|
|
61
|
+
if (result === void 0) continue;
|
|
62
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
63
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
64
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
65
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
66
|
+
} else if (_ = accept(result)) {
|
|
67
|
+
if (kind === "field") initializers.unshift(_);
|
|
68
|
+
else descriptor[key] = _;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
72
|
+
done = true;
|
|
73
|
+
};
|
|
74
|
+
var __runInitializers = function(thisArg, initializers, value) {
|
|
75
|
+
var useValue = arguments.length > 2;
|
|
76
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
77
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
78
|
+
}
|
|
79
|
+
return useValue ? value : void 0;
|
|
80
|
+
};
|
|
81
|
+
function __assertType(argName, typeName, boundHasError) {
|
|
82
|
+
const { ZWaveError, ZWaveErrorCodes } = require("@zwave-js/core");
|
|
83
|
+
if (boundHasError()) {
|
|
84
|
+
throw new ZWaveError(typeName ? `${argName} is not a ${typeName}` : `${argName} has the wrong type`, ZWaveErrorCodes.Argument_Invalid);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
const __assertType__number = ($o) => {
|
|
88
|
+
function _number($o2) {
|
|
89
|
+
return typeof $o2 !== "number" ? {} : null;
|
|
90
|
+
}
|
|
91
|
+
return _number($o);
|
|
92
|
+
};
|
|
93
|
+
const __assertType__string = ($o) => {
|
|
94
|
+
function _string($o2) {
|
|
95
|
+
return typeof $o2 !== "string" ? {} : null;
|
|
96
|
+
}
|
|
97
|
+
return _string($o);
|
|
98
|
+
};
|
|
99
|
+
const __assertType__optional_boolean = ($o) => {
|
|
100
|
+
function _boolean($o2) {
|
|
101
|
+
return typeof $o2 !== "boolean" ? {} : null;
|
|
102
|
+
}
|
|
103
|
+
function optional__boolean($o2) {
|
|
104
|
+
if ($o2 !== void 0) {
|
|
105
|
+
const error = _boolean($o2);
|
|
106
|
+
if (error)
|
|
107
|
+
return error;
|
|
108
|
+
}
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
return optional__boolean($o);
|
|
112
|
+
};
|
|
113
|
+
const __assertType__AssociationGroupInfoCCInfoReportOptions = ($o) => {
|
|
114
|
+
function _boolean($o2) {
|
|
115
|
+
return typeof $o2 !== "boolean" ? {} : null;
|
|
116
|
+
}
|
|
117
|
+
function _number($o2) {
|
|
118
|
+
return typeof $o2 !== "number" ? {} : null;
|
|
119
|
+
}
|
|
120
|
+
function _3($o2) {
|
|
121
|
+
if (typeof $o2 !== "object" || $o2 === null || Array.isArray($o2))
|
|
122
|
+
return {};
|
|
123
|
+
if ("groupId" in $o2 && $o2["groupId"] !== void 0) {
|
|
124
|
+
const error = _number($o2["groupId"]);
|
|
125
|
+
if (error)
|
|
126
|
+
return error;
|
|
127
|
+
} else
|
|
128
|
+
return {};
|
|
129
|
+
if ("mode" in $o2 && $o2["mode"] !== void 0) {
|
|
130
|
+
const error = _number($o2["mode"]);
|
|
131
|
+
if (error)
|
|
132
|
+
return error;
|
|
133
|
+
} else
|
|
134
|
+
return {};
|
|
135
|
+
if ("profile" in $o2 && $o2["profile"] !== void 0) {
|
|
136
|
+
const error = _number($o2["profile"]);
|
|
137
|
+
if (error)
|
|
138
|
+
return error;
|
|
139
|
+
} else
|
|
140
|
+
return {};
|
|
141
|
+
if ("eventCode" in $o2 && $o2["eventCode"] !== void 0) {
|
|
142
|
+
const error = _number($o2["eventCode"]);
|
|
143
|
+
if (error)
|
|
144
|
+
return error;
|
|
145
|
+
} else
|
|
146
|
+
return {};
|
|
147
|
+
return null;
|
|
148
|
+
}
|
|
149
|
+
function sa__3_ea_3($o2) {
|
|
150
|
+
if (!Array.isArray($o2))
|
|
151
|
+
return {};
|
|
152
|
+
for (let i = 0; i < $o2.length; i++) {
|
|
153
|
+
const error = _3($o2[i]);
|
|
154
|
+
if (error)
|
|
155
|
+
return error;
|
|
156
|
+
}
|
|
157
|
+
return null;
|
|
158
|
+
}
|
|
159
|
+
function _0($o2) {
|
|
160
|
+
if (typeof $o2 !== "object" || $o2 === null || Array.isArray($o2))
|
|
161
|
+
return {};
|
|
162
|
+
if ("isListMode" in $o2 && $o2["isListMode"] !== void 0) {
|
|
163
|
+
const error = _boolean($o2["isListMode"]);
|
|
164
|
+
if (error)
|
|
165
|
+
return error;
|
|
166
|
+
} else
|
|
167
|
+
return {};
|
|
168
|
+
if ("hasDynamicInfo" in $o2 && $o2["hasDynamicInfo"] !== void 0) {
|
|
169
|
+
const error = _boolean($o2["hasDynamicInfo"]);
|
|
170
|
+
if (error)
|
|
171
|
+
return error;
|
|
172
|
+
} else
|
|
173
|
+
return {};
|
|
174
|
+
if ("groups" in $o2 && $o2["groups"] !== void 0) {
|
|
175
|
+
const error = sa__3_ea_3($o2["groups"]);
|
|
176
|
+
if (error)
|
|
177
|
+
return error;
|
|
178
|
+
} else
|
|
179
|
+
return {};
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
return _0($o);
|
|
183
|
+
};
|
|
184
|
+
const __assertType___0_1_2 = ($o) => {
|
|
185
|
+
function _ignore() {
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
function _number($o2) {
|
|
189
|
+
return typeof $o2 !== "number" ? {} : null;
|
|
190
|
+
}
|
|
191
|
+
function _0_1_2($o2) {
|
|
192
|
+
if (typeof $o2 !== "object" || $o2 === null || Array.isArray($o2))
|
|
193
|
+
return {};
|
|
194
|
+
if ("forEach" in $o2 && $o2["forEach"] !== void 0) {
|
|
195
|
+
const error = _ignore($o2["forEach"]);
|
|
196
|
+
if (error)
|
|
197
|
+
return error;
|
|
198
|
+
} else
|
|
199
|
+
return {};
|
|
200
|
+
if ("get" in $o2 && $o2["get"] !== void 0) {
|
|
201
|
+
const error = _ignore($o2["get"]);
|
|
202
|
+
if (error)
|
|
203
|
+
return error;
|
|
204
|
+
} else
|
|
205
|
+
return {};
|
|
206
|
+
if ("has" in $o2 && $o2["has"] !== void 0) {
|
|
207
|
+
const error = _ignore($o2["has"]);
|
|
208
|
+
if (error)
|
|
209
|
+
return error;
|
|
210
|
+
} else
|
|
211
|
+
return {};
|
|
212
|
+
if ("size" in $o2 && $o2["size"] !== void 0) {
|
|
213
|
+
const error = _number($o2["size"]);
|
|
214
|
+
if (error)
|
|
215
|
+
return error;
|
|
216
|
+
} else
|
|
217
|
+
return {};
|
|
218
|
+
if ("entries" in $o2 && $o2["entries"] !== void 0) {
|
|
219
|
+
const error = _ignore($o2["entries"]);
|
|
220
|
+
if (error)
|
|
221
|
+
return error;
|
|
222
|
+
} else
|
|
223
|
+
return {};
|
|
224
|
+
if ("keys" in $o2 && $o2["keys"] !== void 0) {
|
|
225
|
+
const error = _ignore($o2["keys"]);
|
|
226
|
+
if (error)
|
|
227
|
+
return error;
|
|
228
|
+
} else
|
|
229
|
+
return {};
|
|
230
|
+
if ("values" in $o2 && $o2["values"] !== void 0) {
|
|
231
|
+
const error = _ignore($o2["values"]);
|
|
232
|
+
if (error)
|
|
233
|
+
return error;
|
|
234
|
+
} else
|
|
235
|
+
return {};
|
|
236
|
+
return null;
|
|
237
|
+
}
|
|
238
|
+
return _0_1_2($o);
|
|
239
|
+
};
|
|
240
|
+
const AssociationGroupInfoCCValues = Object.freeze({
|
|
241
|
+
// Defines values that do not depend on anything else
|
|
242
|
+
...import_Values.V.defineStaticCCValues(import_safe.CommandClasses["Association Group Information"], {
|
|
243
|
+
...import_Values.V.staticProperty("hasDynamicInfo", void 0, { internal: true })
|
|
244
|
+
}),
|
|
245
|
+
// Defines values that depend on one or more arguments and need to be called as a function
|
|
246
|
+
...import_Values.V.defineDynamicCCValues(import_safe.CommandClasses["Association Group Information"], {
|
|
247
|
+
...import_Values.V.dynamicPropertyAndKeyWithName("groupName", "name", (groupId) => groupId, ({ property, propertyKey }) => property === "name" && typeof propertyKey === "number", void 0, { internal: true }),
|
|
248
|
+
...import_Values.V.dynamicPropertyAndKeyWithName("groupInfo", "info", (groupId) => groupId, ({ property, propertyKey }) => property === "info" && typeof propertyKey === "number", void 0, { internal: true }),
|
|
249
|
+
...import_Values.V.dynamicPropertyAndKeyWithName("commands", "issuedCommands", (groupId) => groupId, ({ property, propertyKey }) => property === "issuedCommands" && typeof propertyKey === "number", void 0, { internal: true })
|
|
250
|
+
})
|
|
251
|
+
});
|
|
252
|
+
let AssociationGroupInfoCCAPI = (() => {
|
|
253
|
+
let _classDecorators = [(0, import_CommandClassDecorators.API)(import_safe.CommandClasses["Association Group Information"])];
|
|
254
|
+
let _classDescriptor;
|
|
255
|
+
let _classExtraInitializers = [];
|
|
256
|
+
let _classThis;
|
|
257
|
+
let _classSuper = import_API.PhysicalCCAPI;
|
|
258
|
+
var AssociationGroupInfoCCAPI2 = class extends _classSuper {
|
|
259
|
+
static {
|
|
260
|
+
_classThis = this;
|
|
261
|
+
}
|
|
262
|
+
static {
|
|
263
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
264
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
265
|
+
AssociationGroupInfoCCAPI2 = _classThis = _classDescriptor.value;
|
|
266
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
267
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
268
|
+
}
|
|
269
|
+
supportsCommand(cmd) {
|
|
270
|
+
switch (cmd) {
|
|
271
|
+
case import_Types.AssociationGroupInfoCommand.NameGet:
|
|
272
|
+
case import_Types.AssociationGroupInfoCommand.NameReport:
|
|
273
|
+
case import_Types.AssociationGroupInfoCommand.InfoGet:
|
|
274
|
+
case import_Types.AssociationGroupInfoCommand.InfoReport:
|
|
275
|
+
case import_Types.AssociationGroupInfoCommand.CommandListGet:
|
|
276
|
+
case import_Types.AssociationGroupInfoCommand.CommandListReport:
|
|
277
|
+
return true;
|
|
278
|
+
}
|
|
279
|
+
return super.supportsCommand(cmd);
|
|
280
|
+
}
|
|
281
|
+
async getGroupName(groupId) {
|
|
282
|
+
__assertType("groupId", "number", __assertType__number.bind(void 0, groupId));
|
|
283
|
+
this.assertSupportsCommand(import_Types.AssociationGroupInfoCommand, import_Types.AssociationGroupInfoCommand.NameGet);
|
|
284
|
+
const cc = new AssociationGroupInfoCCNameGet({
|
|
285
|
+
nodeId: this.endpoint.nodeId,
|
|
286
|
+
endpointIndex: this.endpoint.index,
|
|
287
|
+
groupId
|
|
288
|
+
});
|
|
289
|
+
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
290
|
+
if (response)
|
|
291
|
+
return response.name;
|
|
292
|
+
}
|
|
293
|
+
async reportGroupName(groupId, name) {
|
|
294
|
+
__assertType("groupId", "number", __assertType__number.bind(void 0, groupId));
|
|
295
|
+
__assertType("name", "string", __assertType__string.bind(void 0, name));
|
|
296
|
+
this.assertSupportsCommand(import_Types.AssociationGroupInfoCommand, import_Types.AssociationGroupInfoCommand.NameReport);
|
|
297
|
+
const cc = new AssociationGroupInfoCCNameReport({
|
|
298
|
+
nodeId: this.endpoint.nodeId,
|
|
299
|
+
endpointIndex: this.endpoint.index,
|
|
300
|
+
groupId,
|
|
301
|
+
name
|
|
302
|
+
});
|
|
303
|
+
await this.host.sendCommand(cc, this.commandOptions);
|
|
304
|
+
}
|
|
305
|
+
async getGroupInfo(groupId, refreshCache = false) {
|
|
306
|
+
__assertType("groupId", "number", __assertType__number.bind(void 0, groupId));
|
|
307
|
+
__assertType("refreshCache", "(optional) boolean", __assertType__optional_boolean.bind(void 0, refreshCache));
|
|
308
|
+
this.assertSupportsCommand(import_Types.AssociationGroupInfoCommand, import_Types.AssociationGroupInfoCommand.InfoGet);
|
|
309
|
+
const cc = new AssociationGroupInfoCCInfoGet({
|
|
310
|
+
nodeId: this.endpoint.nodeId,
|
|
311
|
+
endpointIndex: this.endpoint.index,
|
|
312
|
+
groupId,
|
|
313
|
+
refreshCache
|
|
314
|
+
});
|
|
315
|
+
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
316
|
+
if (response && response.groups.length > 0) {
|
|
317
|
+
const { groupId: _, ...info } = response.groups[0];
|
|
318
|
+
return {
|
|
319
|
+
hasDynamicInfo: response.hasDynamicInfo,
|
|
320
|
+
...info
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
async reportGroupInfo(options) {
|
|
325
|
+
__assertType("options", "AssociationGroupInfoCCInfoReportOptions", __assertType__AssociationGroupInfoCCInfoReportOptions.bind(void 0, options));
|
|
326
|
+
this.assertSupportsCommand(import_Types.AssociationGroupInfoCommand, import_Types.AssociationGroupInfoCommand.InfoReport);
|
|
327
|
+
const cc = new AssociationGroupInfoCCInfoReport({
|
|
328
|
+
nodeId: this.endpoint.nodeId,
|
|
329
|
+
endpointIndex: this.endpoint.index,
|
|
330
|
+
...options
|
|
331
|
+
});
|
|
332
|
+
await this.host.sendCommand(cc, this.commandOptions);
|
|
333
|
+
}
|
|
334
|
+
async getCommands(groupId, allowCache = true) {
|
|
335
|
+
__assertType("groupId", "number", __assertType__number.bind(void 0, groupId));
|
|
336
|
+
__assertType("allowCache", "(optional) boolean", __assertType__optional_boolean.bind(void 0, allowCache));
|
|
337
|
+
this.assertSupportsCommand(import_Types.AssociationGroupInfoCommand, import_Types.AssociationGroupInfoCommand.CommandListGet);
|
|
338
|
+
const cc = new AssociationGroupInfoCCCommandListGet({
|
|
339
|
+
nodeId: this.endpoint.nodeId,
|
|
340
|
+
endpointIndex: this.endpoint.index,
|
|
341
|
+
groupId,
|
|
342
|
+
allowCache
|
|
343
|
+
});
|
|
344
|
+
const response = await this.host.sendCommand(cc, this.commandOptions);
|
|
345
|
+
if (response)
|
|
346
|
+
return response.commands;
|
|
347
|
+
}
|
|
348
|
+
async reportCommands(groupId, commands) {
|
|
349
|
+
__assertType("groupId", "number", __assertType__number.bind(void 0, groupId));
|
|
350
|
+
__assertType("commands", void 0, __assertType___0_1_2.bind(void 0, commands));
|
|
351
|
+
this.assertSupportsCommand(import_Types.AssociationGroupInfoCommand, import_Types.AssociationGroupInfoCommand.CommandListReport);
|
|
352
|
+
const cc = new AssociationGroupInfoCCCommandListReport({
|
|
353
|
+
nodeId: this.endpoint.nodeId,
|
|
354
|
+
endpointIndex: this.endpoint.index,
|
|
355
|
+
groupId,
|
|
356
|
+
commands
|
|
357
|
+
});
|
|
358
|
+
await this.host.sendCommand(cc, this.commandOptions);
|
|
359
|
+
}
|
|
360
|
+
};
|
|
361
|
+
return AssociationGroupInfoCCAPI2 = _classThis;
|
|
362
|
+
})();
|
|
363
|
+
let AssociationGroupInfoCC = (() => {
|
|
364
|
+
let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Association Group Information"]), (0, import_CommandClassDecorators.implementedVersion)(3), (0, import_CommandClassDecorators.ccValues)(AssociationGroupInfoCCValues)];
|
|
365
|
+
let _classDescriptor;
|
|
366
|
+
let _classExtraInitializers = [];
|
|
367
|
+
let _classThis;
|
|
368
|
+
let _classSuper = import_CommandClass.CommandClass;
|
|
369
|
+
var AssociationGroupInfoCC2 = class extends _classSuper {
|
|
370
|
+
static {
|
|
371
|
+
_classThis = this;
|
|
372
|
+
}
|
|
373
|
+
static {
|
|
374
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
375
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
376
|
+
AssociationGroupInfoCC2 = _classThis = _classDescriptor.value;
|
|
377
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
378
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
379
|
+
}
|
|
380
|
+
determineRequiredCCInterviews() {
|
|
381
|
+
return [
|
|
382
|
+
...super.determineRequiredCCInterviews(),
|
|
383
|
+
import_safe.CommandClasses.Association,
|
|
384
|
+
import_safe.CommandClasses["Multi Channel Association"]
|
|
385
|
+
];
|
|
386
|
+
}
|
|
387
|
+
/** Returns the name of an association group */
|
|
388
|
+
static getGroupNameCached(ctx, endpoint, groupId) {
|
|
389
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(AssociationGroupInfoCCValues.groupName(groupId).endpoint(endpoint.index));
|
|
390
|
+
}
|
|
391
|
+
/** Returns the association profile for an association group */
|
|
392
|
+
static getGroupProfileCached(ctx, endpoint, groupId) {
|
|
393
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(AssociationGroupInfoCCValues.groupInfo(groupId).endpoint(endpoint.index))?.profile;
|
|
394
|
+
}
|
|
395
|
+
/** Returns the dictionary of all commands issued by the given association group */
|
|
396
|
+
static getIssuedCommandsCached(ctx, endpoint, groupId) {
|
|
397
|
+
return ctx.getValueDB(endpoint.nodeId).getValue(AssociationGroupInfoCCValues.commands(groupId).endpoint(endpoint.index));
|
|
398
|
+
}
|
|
399
|
+
static findGroupsForIssuedCommand(ctx, endpoint, ccId, command) {
|
|
400
|
+
const ret = [];
|
|
401
|
+
const associationGroupCount = this.getAssociationGroupCountCached(ctx, endpoint);
|
|
402
|
+
for (let groupId = 1; groupId <= associationGroupCount; groupId++) {
|
|
403
|
+
const issuedCommands = this.getIssuedCommandsCached(ctx, endpoint, groupId);
|
|
404
|
+
if (!issuedCommands)
|
|
405
|
+
continue;
|
|
406
|
+
if (issuedCommands.has(ccId) && issuedCommands.get(ccId).includes(command)) {
|
|
407
|
+
ret.push(groupId);
|
|
408
|
+
continue;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
return ret;
|
|
412
|
+
}
|
|
413
|
+
static getAssociationGroupCountCached(ctx, endpoint) {
|
|
414
|
+
return (
|
|
415
|
+
// First query the Multi Channel Association CC
|
|
416
|
+
// And fall back to 0
|
|
417
|
+
endpoint.supportsCC(import_safe.CommandClasses["Multi Channel Association"]) && import_MultiChannelAssociationCC.MultiChannelAssociationCC.getGroupCountCached(ctx, endpoint) || endpoint.supportsCC(import_safe.CommandClasses.Association) && import_AssociationCC.AssociationCC.getGroupCountCached(ctx, endpoint) || 0
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
async interview(ctx) {
|
|
421
|
+
const node = this.getNode(ctx);
|
|
422
|
+
const endpoint = this.getEndpoint(ctx);
|
|
423
|
+
const api = import_API.CCAPI.create(import_safe.CommandClasses["Association Group Information"], ctx, endpoint).withOptions({ priority: import_safe.MessagePriority.NodeQuery });
|
|
424
|
+
ctx.logNode(node.id, {
|
|
425
|
+
endpoint: this.endpointIndex,
|
|
426
|
+
message: `Interviewing ${this.ccName}...`,
|
|
427
|
+
direction: "none"
|
|
428
|
+
});
|
|
429
|
+
const associationGroupCount = AssociationGroupInfoCC2.getAssociationGroupCountCached(ctx, endpoint);
|
|
430
|
+
for (let groupId = 1; groupId <= associationGroupCount; groupId++) {
|
|
431
|
+
ctx.logNode(node.id, {
|
|
432
|
+
endpoint: this.endpointIndex,
|
|
433
|
+
message: `Association group #${groupId}: Querying name...`,
|
|
434
|
+
direction: "outbound"
|
|
435
|
+
});
|
|
436
|
+
const name = await api.getGroupName(groupId);
|
|
437
|
+
if (name) {
|
|
438
|
+
const logMessage = `Association group #${groupId} has name "${name}"`;
|
|
439
|
+
ctx.logNode(node.id, {
|
|
440
|
+
endpoint: this.endpointIndex,
|
|
441
|
+
message: logMessage,
|
|
442
|
+
direction: "inbound"
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
ctx.logNode(node.id, {
|
|
446
|
+
endpoint: this.endpointIndex,
|
|
447
|
+
message: `Association group #${groupId}: Querying command list...`,
|
|
448
|
+
direction: "outbound"
|
|
449
|
+
});
|
|
450
|
+
await api.getCommands(groupId);
|
|
451
|
+
}
|
|
452
|
+
await this.refreshValues(ctx);
|
|
453
|
+
this.setInterviewComplete(ctx, true);
|
|
454
|
+
}
|
|
455
|
+
async refreshValues(ctx) {
|
|
456
|
+
const node = this.getNode(ctx);
|
|
457
|
+
const endpoint = this.getEndpoint(ctx);
|
|
458
|
+
const api = import_API.CCAPI.create(import_safe.CommandClasses["Association Group Information"], ctx, endpoint).withOptions({ priority: import_safe.MessagePriority.NodeQuery });
|
|
459
|
+
const associationGroupCount = AssociationGroupInfoCC2.getAssociationGroupCountCached(ctx, endpoint);
|
|
460
|
+
const hasDynamicInfo = this.getValue(ctx, AssociationGroupInfoCCValues.hasDynamicInfo);
|
|
461
|
+
for (let groupId = 1; groupId <= associationGroupCount; groupId++) {
|
|
462
|
+
ctx.logNode(node.id, {
|
|
463
|
+
endpoint: this.endpointIndex,
|
|
464
|
+
message: `Association group #${groupId}: Querying info...`,
|
|
465
|
+
direction: "outbound"
|
|
466
|
+
});
|
|
467
|
+
const info = await api.getGroupInfo(groupId, !!hasDynamicInfo);
|
|
468
|
+
if (info) {
|
|
469
|
+
const logMessage = `Received info for association group #${groupId}:
|
|
470
|
+
info is dynamic: ${info.hasDynamicInfo}
|
|
471
|
+
profile: ${(0, import_safe3.getEnumMemberName)(import_Types.AssociationGroupInfoProfile, info.profile)}`;
|
|
472
|
+
ctx.logNode(node.id, {
|
|
473
|
+
endpoint: this.endpointIndex,
|
|
474
|
+
message: logMessage,
|
|
475
|
+
direction: "inbound"
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
return AssociationGroupInfoCC2 = _classThis;
|
|
482
|
+
})();
|
|
483
|
+
let AssociationGroupInfoCCNameReport = (() => {
|
|
484
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.AssociationGroupInfoCommand.NameReport)];
|
|
485
|
+
let _classDescriptor;
|
|
486
|
+
let _classExtraInitializers = [];
|
|
487
|
+
let _classThis;
|
|
488
|
+
let _classSuper = AssociationGroupInfoCC;
|
|
489
|
+
var AssociationGroupInfoCCNameReport2 = class extends _classSuper {
|
|
490
|
+
static {
|
|
491
|
+
_classThis = this;
|
|
492
|
+
}
|
|
493
|
+
static {
|
|
494
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
495
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
496
|
+
AssociationGroupInfoCCNameReport2 = _classThis = _classDescriptor.value;
|
|
497
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
498
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
499
|
+
}
|
|
500
|
+
constructor(options) {
|
|
501
|
+
super(options);
|
|
502
|
+
this.groupId = options.groupId;
|
|
503
|
+
this.name = options.name;
|
|
504
|
+
}
|
|
505
|
+
static from(raw, ctx) {
|
|
506
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 2);
|
|
507
|
+
const groupId = raw.payload[0];
|
|
508
|
+
const nameLength = raw.payload[1];
|
|
509
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 2 + nameLength);
|
|
510
|
+
const name = (0, import_safe3.cpp2js)(raw.payload.subarray(2, 2 + nameLength).toString("utf8"));
|
|
511
|
+
return new this({
|
|
512
|
+
nodeId: ctx.sourceNodeId,
|
|
513
|
+
groupId,
|
|
514
|
+
name
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
groupId;
|
|
518
|
+
name;
|
|
519
|
+
persistValues(ctx) {
|
|
520
|
+
if (!super.persistValues(ctx))
|
|
521
|
+
return false;
|
|
522
|
+
const valueDB = this.getValueDB(ctx);
|
|
523
|
+
valueDB.setValue(AssociationGroupInfoCCValues.groupName(this.groupId).endpoint(this.endpointIndex), this.name);
|
|
524
|
+
return true;
|
|
525
|
+
}
|
|
526
|
+
serialize(ctx) {
|
|
527
|
+
this.payload = import_safe2.Bytes.concat([
|
|
528
|
+
import_safe2.Bytes.from([this.groupId, this.name.length]),
|
|
529
|
+
import_safe2.Bytes.from(this.name, "utf8")
|
|
530
|
+
]);
|
|
531
|
+
return super.serialize(ctx);
|
|
532
|
+
}
|
|
533
|
+
toLogEntry(ctx) {
|
|
534
|
+
return {
|
|
535
|
+
...super.toLogEntry(ctx),
|
|
536
|
+
message: {
|
|
537
|
+
"group id": this.groupId,
|
|
538
|
+
name: this.name
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
};
|
|
543
|
+
return AssociationGroupInfoCCNameReport2 = _classThis;
|
|
544
|
+
})();
|
|
545
|
+
let AssociationGroupInfoCCNameGet = (() => {
|
|
546
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.AssociationGroupInfoCommand.NameGet), (0, import_CommandClassDecorators.expectedCCResponse)(AssociationGroupInfoCCNameReport)];
|
|
547
|
+
let _classDescriptor;
|
|
548
|
+
let _classExtraInitializers = [];
|
|
549
|
+
let _classThis;
|
|
550
|
+
let _classSuper = AssociationGroupInfoCC;
|
|
551
|
+
var AssociationGroupInfoCCNameGet2 = class extends _classSuper {
|
|
552
|
+
static {
|
|
553
|
+
_classThis = this;
|
|
554
|
+
}
|
|
555
|
+
static {
|
|
556
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
557
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
558
|
+
AssociationGroupInfoCCNameGet2 = _classThis = _classDescriptor.value;
|
|
559
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
560
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
561
|
+
}
|
|
562
|
+
constructor(options) {
|
|
563
|
+
super(options);
|
|
564
|
+
this.groupId = options.groupId;
|
|
565
|
+
}
|
|
566
|
+
static from(raw, ctx) {
|
|
567
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 1);
|
|
568
|
+
const groupId = raw.payload[0];
|
|
569
|
+
return new this({
|
|
570
|
+
nodeId: ctx.sourceNodeId,
|
|
571
|
+
groupId
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
groupId;
|
|
575
|
+
serialize(ctx) {
|
|
576
|
+
this.payload = import_safe2.Bytes.from([this.groupId]);
|
|
577
|
+
return super.serialize(ctx);
|
|
578
|
+
}
|
|
579
|
+
toLogEntry(ctx) {
|
|
580
|
+
return {
|
|
581
|
+
...super.toLogEntry(ctx),
|
|
582
|
+
message: { "group id": this.groupId }
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
return AssociationGroupInfoCCNameGet2 = _classThis;
|
|
587
|
+
})();
|
|
588
|
+
let AssociationGroupInfoCCInfoReport = (() => {
|
|
589
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.AssociationGroupInfoCommand.InfoReport), (0, import_CommandClassDecorators.ccValueProperty)("hasDynamicInfo", AssociationGroupInfoCCValues.hasDynamicInfo)];
|
|
590
|
+
let _classDescriptor;
|
|
591
|
+
let _classExtraInitializers = [];
|
|
592
|
+
let _classThis;
|
|
593
|
+
let _classSuper = AssociationGroupInfoCC;
|
|
594
|
+
var AssociationGroupInfoCCInfoReport2 = class extends _classSuper {
|
|
595
|
+
static {
|
|
596
|
+
_classThis = this;
|
|
597
|
+
}
|
|
598
|
+
static {
|
|
599
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
600
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
601
|
+
AssociationGroupInfoCCInfoReport2 = _classThis = _classDescriptor.value;
|
|
602
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
603
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
604
|
+
}
|
|
605
|
+
constructor(options) {
|
|
606
|
+
super(options);
|
|
607
|
+
this.isListMode = options.isListMode;
|
|
608
|
+
this.hasDynamicInfo = options.hasDynamicInfo;
|
|
609
|
+
this.groups = options.groups;
|
|
610
|
+
}
|
|
611
|
+
static from(raw, ctx) {
|
|
612
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 1);
|
|
613
|
+
const isListMode = !!(raw.payload[0] & 128);
|
|
614
|
+
const hasDynamicInfo = !!(raw.payload[0] & 64);
|
|
615
|
+
const groupCount = raw.payload[0] & 63;
|
|
616
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 1 + groupCount * 7);
|
|
617
|
+
const groups = [];
|
|
618
|
+
for (let i = 0; i < groupCount; i++) {
|
|
619
|
+
const offset = 1 + i * 7;
|
|
620
|
+
const groupBytes = raw.payload.subarray(offset, offset + 7);
|
|
621
|
+
const groupId = groupBytes[0];
|
|
622
|
+
const mode = 0;
|
|
623
|
+
const profile = groupBytes.readUInt16BE(2);
|
|
624
|
+
const eventCode = 0;
|
|
625
|
+
groups.push({ groupId, mode, profile, eventCode });
|
|
626
|
+
}
|
|
627
|
+
return new this({
|
|
628
|
+
nodeId: ctx.sourceNodeId,
|
|
629
|
+
isListMode,
|
|
630
|
+
hasDynamicInfo,
|
|
631
|
+
groups
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
isListMode;
|
|
635
|
+
hasDynamicInfo;
|
|
636
|
+
groups;
|
|
637
|
+
persistValues(ctx) {
|
|
638
|
+
if (!super.persistValues(ctx))
|
|
639
|
+
return false;
|
|
640
|
+
for (const group of this.groups) {
|
|
641
|
+
const { groupId, mode, profile, eventCode } = group;
|
|
642
|
+
this.setValue(ctx, AssociationGroupInfoCCValues.groupInfo(groupId), {
|
|
643
|
+
mode,
|
|
644
|
+
profile,
|
|
645
|
+
eventCode
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
return true;
|
|
649
|
+
}
|
|
650
|
+
serialize(ctx) {
|
|
651
|
+
this.payload = import_safe2.Bytes.alloc(1 + this.groups.length * 7, 0);
|
|
652
|
+
this.payload[0] = (this.isListMode ? 128 : 0) | (this.hasDynamicInfo ? 64 : 0) | this.groups.length & 63;
|
|
653
|
+
for (let i = 0; i < this.groups.length; i++) {
|
|
654
|
+
const offset = 1 + i * 7;
|
|
655
|
+
this.payload[offset] = this.groups[i].groupId;
|
|
656
|
+
this.payload.writeUInt16BE(this.groups[i].profile, offset + 2);
|
|
657
|
+
}
|
|
658
|
+
return super.serialize(ctx);
|
|
659
|
+
}
|
|
660
|
+
toLogEntry(ctx) {
|
|
661
|
+
return {
|
|
662
|
+
...super.toLogEntry(ctx),
|
|
663
|
+
message: {
|
|
664
|
+
"is list mode": this.isListMode,
|
|
665
|
+
"has dynamic info": this.hasDynamicInfo,
|
|
666
|
+
groups: `${this.groups.map((g) => `
|
|
667
|
+
\xB7 Group #${g.groupId}
|
|
668
|
+
mode: ${g.mode}
|
|
669
|
+
profile: ${g.profile}
|
|
670
|
+
event code: ${g.eventCode}`).join("")}`
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
}
|
|
674
|
+
};
|
|
675
|
+
return AssociationGroupInfoCCInfoReport2 = _classThis;
|
|
676
|
+
})();
|
|
677
|
+
let AssociationGroupInfoCCInfoGet = (() => {
|
|
678
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.AssociationGroupInfoCommand.InfoGet), (0, import_CommandClassDecorators.expectedCCResponse)(AssociationGroupInfoCCInfoReport)];
|
|
679
|
+
let _classDescriptor;
|
|
680
|
+
let _classExtraInitializers = [];
|
|
681
|
+
let _classThis;
|
|
682
|
+
let _classSuper = AssociationGroupInfoCC;
|
|
683
|
+
var AssociationGroupInfoCCInfoGet2 = class extends _classSuper {
|
|
684
|
+
static {
|
|
685
|
+
_classThis = this;
|
|
686
|
+
}
|
|
687
|
+
static {
|
|
688
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
689
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
690
|
+
AssociationGroupInfoCCInfoGet2 = _classThis = _classDescriptor.value;
|
|
691
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
692
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
693
|
+
}
|
|
694
|
+
constructor(options) {
|
|
695
|
+
super(options);
|
|
696
|
+
this.refreshCache = options.refreshCache;
|
|
697
|
+
if ("listMode" in options)
|
|
698
|
+
this.listMode = options.listMode;
|
|
699
|
+
if ("groupId" in options)
|
|
700
|
+
this.groupId = options.groupId;
|
|
701
|
+
}
|
|
702
|
+
static from(raw, ctx) {
|
|
703
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 2);
|
|
704
|
+
const optionByte = raw.payload[0];
|
|
705
|
+
const refreshCache = !!(optionByte & 128);
|
|
706
|
+
const listMode = !!(optionByte & 64);
|
|
707
|
+
let groupId;
|
|
708
|
+
if (!listMode) {
|
|
709
|
+
groupId = raw.payload[1];
|
|
710
|
+
}
|
|
711
|
+
return new this({
|
|
712
|
+
nodeId: ctx.sourceNodeId,
|
|
713
|
+
refreshCache,
|
|
714
|
+
listMode,
|
|
715
|
+
groupId
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
refreshCache;
|
|
719
|
+
listMode;
|
|
720
|
+
groupId;
|
|
721
|
+
serialize(ctx) {
|
|
722
|
+
const isListMode = this.listMode === true;
|
|
723
|
+
const optionByte = (this.refreshCache ? 128 : 0) | (isListMode ? 64 : 0);
|
|
724
|
+
this.payload = import_safe2.Bytes.from([
|
|
725
|
+
optionByte,
|
|
726
|
+
isListMode ? 0 : this.groupId
|
|
727
|
+
]);
|
|
728
|
+
return super.serialize(ctx);
|
|
729
|
+
}
|
|
730
|
+
toLogEntry(ctx) {
|
|
731
|
+
const message = {};
|
|
732
|
+
if (this.groupId != void 0) {
|
|
733
|
+
message["group id"] = this.groupId;
|
|
734
|
+
}
|
|
735
|
+
if (this.listMode != void 0) {
|
|
736
|
+
message["list mode"] = this.listMode;
|
|
737
|
+
}
|
|
738
|
+
message["refresh cache"] = this.refreshCache;
|
|
739
|
+
return {
|
|
740
|
+
...super.toLogEntry(ctx),
|
|
741
|
+
message
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
};
|
|
745
|
+
return AssociationGroupInfoCCInfoGet2 = _classThis;
|
|
746
|
+
})();
|
|
747
|
+
let AssociationGroupInfoCCCommandListReport = (() => {
|
|
748
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.AssociationGroupInfoCommand.CommandListReport), (0, import_CommandClassDecorators.ccValueProperty)("commands", AssociationGroupInfoCCValues.commands, (self) => [self.groupId])];
|
|
749
|
+
let _classDescriptor;
|
|
750
|
+
let _classExtraInitializers = [];
|
|
751
|
+
let _classThis;
|
|
752
|
+
let _classSuper = AssociationGroupInfoCC;
|
|
753
|
+
var AssociationGroupInfoCCCommandListReport2 = class extends _classSuper {
|
|
754
|
+
static {
|
|
755
|
+
_classThis = this;
|
|
756
|
+
}
|
|
757
|
+
static {
|
|
758
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
759
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
760
|
+
AssociationGroupInfoCCCommandListReport2 = _classThis = _classDescriptor.value;
|
|
761
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
762
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
763
|
+
}
|
|
764
|
+
constructor(options) {
|
|
765
|
+
super(options);
|
|
766
|
+
this.groupId = options.groupId;
|
|
767
|
+
this.commands = options.commands;
|
|
768
|
+
}
|
|
769
|
+
static from(raw, ctx) {
|
|
770
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 2);
|
|
771
|
+
const groupId = raw.payload[0];
|
|
772
|
+
const listLength = raw.payload[1];
|
|
773
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 2 + listLength);
|
|
774
|
+
const listBytes = raw.payload.subarray(2, 2 + listLength);
|
|
775
|
+
let offset = 0;
|
|
776
|
+
const commands = /* @__PURE__ */ new Map();
|
|
777
|
+
while (offset < listLength) {
|
|
778
|
+
const { ccId, bytesRead } = (0, import_safe.parseCCId)(listBytes, offset);
|
|
779
|
+
const command = listBytes[offset + bytesRead];
|
|
780
|
+
if (!commands.has(ccId))
|
|
781
|
+
commands.set(ccId, []);
|
|
782
|
+
commands.get(ccId).push(command);
|
|
783
|
+
offset += bytesRead + 1;
|
|
784
|
+
}
|
|
785
|
+
return new this({
|
|
786
|
+
nodeId: ctx.sourceNodeId,
|
|
787
|
+
groupId,
|
|
788
|
+
commands
|
|
789
|
+
});
|
|
790
|
+
}
|
|
791
|
+
groupId;
|
|
792
|
+
commands;
|
|
793
|
+
serialize(ctx) {
|
|
794
|
+
this.payload = new import_safe2.Bytes(2 + this.commands.size * 3);
|
|
795
|
+
this.payload[0] = this.groupId;
|
|
796
|
+
let offset = 2;
|
|
797
|
+
for (const [ccId, commands] of this.commands) {
|
|
798
|
+
for (const command of commands) {
|
|
799
|
+
offset += (0, import_safe.encodeCCId)(ccId, this.payload, offset);
|
|
800
|
+
this.payload[offset] = command;
|
|
801
|
+
offset++;
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
this.payload[1] = offset - 2;
|
|
805
|
+
return super.serialize(ctx);
|
|
806
|
+
}
|
|
807
|
+
toLogEntry(ctx) {
|
|
808
|
+
return {
|
|
809
|
+
...super.toLogEntry(ctx),
|
|
810
|
+
message: {
|
|
811
|
+
"group id": this.groupId,
|
|
812
|
+
commands: `${[...this.commands].map(([cc, cmds]) => {
|
|
813
|
+
return `
|
|
814
|
+
\xB7 ${(0, import_safe.getCCName)(cc)}: ${cmds.map((cmd) => (0, import_safe3.num2hex)(cmd)).join(", ")}`;
|
|
815
|
+
}).join("")}`
|
|
816
|
+
}
|
|
817
|
+
};
|
|
818
|
+
}
|
|
819
|
+
};
|
|
820
|
+
return AssociationGroupInfoCCCommandListReport2 = _classThis;
|
|
821
|
+
})();
|
|
822
|
+
let AssociationGroupInfoCCCommandListGet = (() => {
|
|
823
|
+
let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.AssociationGroupInfoCommand.CommandListGet), (0, import_CommandClassDecorators.expectedCCResponse)(AssociationGroupInfoCCCommandListReport)];
|
|
824
|
+
let _classDescriptor;
|
|
825
|
+
let _classExtraInitializers = [];
|
|
826
|
+
let _classThis;
|
|
827
|
+
let _classSuper = AssociationGroupInfoCC;
|
|
828
|
+
var AssociationGroupInfoCCCommandListGet2 = class extends _classSuper {
|
|
829
|
+
static {
|
|
830
|
+
_classThis = this;
|
|
831
|
+
}
|
|
832
|
+
static {
|
|
833
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
834
|
+
__esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
|
|
835
|
+
AssociationGroupInfoCCCommandListGet2 = _classThis = _classDescriptor.value;
|
|
836
|
+
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
837
|
+
__runInitializers(_classThis, _classExtraInitializers);
|
|
838
|
+
}
|
|
839
|
+
constructor(options) {
|
|
840
|
+
super(options);
|
|
841
|
+
this.allowCache = options.allowCache;
|
|
842
|
+
this.groupId = options.groupId;
|
|
843
|
+
}
|
|
844
|
+
static from(raw, ctx) {
|
|
845
|
+
(0, import_safe.validatePayload)(raw.payload.length >= 2);
|
|
846
|
+
const allowCache = !!(raw.payload[0] & 128);
|
|
847
|
+
const groupId = raw.payload[1];
|
|
848
|
+
return new this({
|
|
849
|
+
nodeId: ctx.sourceNodeId,
|
|
850
|
+
allowCache,
|
|
851
|
+
groupId
|
|
852
|
+
});
|
|
853
|
+
}
|
|
854
|
+
allowCache;
|
|
855
|
+
groupId;
|
|
856
|
+
serialize(ctx) {
|
|
857
|
+
this.payload = import_safe2.Bytes.from([
|
|
858
|
+
this.allowCache ? 128 : 0,
|
|
859
|
+
this.groupId
|
|
860
|
+
]);
|
|
861
|
+
return super.serialize(ctx);
|
|
862
|
+
}
|
|
863
|
+
toLogEntry(ctx) {
|
|
864
|
+
return {
|
|
865
|
+
...super.toLogEntry(ctx),
|
|
866
|
+
message: {
|
|
867
|
+
"group id": this.groupId,
|
|
868
|
+
"allow cache": this.allowCache
|
|
869
|
+
}
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
};
|
|
873
|
+
return AssociationGroupInfoCCCommandListGet2 = _classThis;
|
|
874
|
+
})();
|
|
875
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
876
|
+
0 && (module.exports = {
|
|
877
|
+
AssociationGroupInfoCC,
|
|
878
|
+
AssociationGroupInfoCCAPI,
|
|
879
|
+
AssociationGroupInfoCCCommandListGet,
|
|
880
|
+
AssociationGroupInfoCCCommandListReport,
|
|
881
|
+
AssociationGroupInfoCCInfoGet,
|
|
882
|
+
AssociationGroupInfoCCInfoReport,
|
|
883
|
+
AssociationGroupInfoCCNameGet,
|
|
884
|
+
AssociationGroupInfoCCNameReport,
|
|
885
|
+
AssociationGroupInfoCCValues
|
|
886
|
+
});
|
|
887
|
+
//# sourceMappingURL=AssociationGroupInfoCC.js.map
|