matter-python-client 1.5.1__tar.gz → 1.5.3__tar.gz
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.
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/PKG-INFO +1 -1
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/Objects.py +5 -0
- matter_python_client-1.5.3/chip/clusters/cluster_defs/YeelightBasicCluster.py +171 -0
- matter_python_client-1.5.3/chip/clusters/cluster_defs/YeelightBasicConfigCluster.py +192 -0
- matter_python_client-1.5.3/chip/clusters/cluster_defs/YeelightCubeControlCluster.py +170 -0
- matter_python_client-1.5.3/chip/clusters/cluster_defs/YeelightEnhancedColorEffectConfigV2Cluster.py +446 -0
- matter_python_client-1.5.3/chip/clusters/cluster_defs/YeelightOverTheAirCluster.py +153 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/__init__.py +10 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_python_client.egg-info/PKG-INFO +1 -1
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_python_client.egg-info/SOURCES.txt +5 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/client/client.py +11 -3
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/custom_clusters.py +17 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/pyproject.toml +1 -1
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_event_dispatch.py +55 -1
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_imports.py +17 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/README.md +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/ChipUtility.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/ClusterObjects.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/Types.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AccessControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AccountLogin.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Actions.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ActivatedCarbonFilterMonitoring.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AdministratorCommissioning.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AirQuality.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AmbientContextSensing.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ApplicationBasic.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ApplicationLauncher.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AqaraAmbientSensingConfigurationCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AqaraLedStripT2Cluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AqaraOccupantLocationCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AqaraRadarSensingUnionCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/AudioOutput.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/BasicInformation.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Binding.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/BooleanState.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/BooleanStateConfiguration.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/BridgedDeviceBasicInformation.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CameraAvSettingsUserLevelManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CameraAvStreamManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CarbonDioxideConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CarbonMonoxideConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Channel.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Chime.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ClosureControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ClosureDimension.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ColorControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CommissionerControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CommodityMetering.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CommodityPrice.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/CommodityTariff.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ContentAppObserver.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ContentControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ContentLauncher.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Descriptor.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/DeviceEnergyManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/DeviceEnergyManagementMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/DiagnosticLogs.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/DishwasherAlarm.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/DishwasherMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/DoorLock.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/DraftElectricalMeasurementCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/EcosystemInformation.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ElectricalEnergyMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ElectricalGridConditions.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ElectricalPowerMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/EnergyEvse.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/EnergyEvseMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/EnergyPreference.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/EthernetNetworkDiagnostics.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/EveCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/FanControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/FixedLabel.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/FlowMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/FormaldehydeConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/GeneralCommissioning.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/GeneralDiagnostics.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Globals.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/GroupKeyManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Groupcast.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Groups.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/HeimanCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/HepaFilterMonitoring.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/IcdManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Identify.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/IkeaValveCalibrationCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/IlluminanceMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/InovelliCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/JointFabricAdministrator.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/JointFabricDatastore.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/KeypadInput.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/LaundryDryerControls.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/LaundryWasherControls.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/LaundryWasherMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/LevelControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/LocalizationConfiguration.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/LowPower.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/MediaInput.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/MediaPlayback.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Messages.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/MeterIdentification.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/MicrowaveOvenControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/MicrowaveOvenMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ModeSelect.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/NeoCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/NetworkCommissioning.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/NitrogenDioxideConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OccupancySensing.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OnOff.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OperationalCredentials.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OperationalState.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OtaSoftwareUpdateProvider.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OtaSoftwareUpdateRequestor.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OvenCavityOperationalState.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OvenMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/OzoneConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Pm10ConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Pm1ConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Pm25ConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/PowerSource.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/PowerSourceConfiguration.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/PowerTopology.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/PressureMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/PumpConfigurationAndControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/PushAvStreamTransport.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/RadonConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/RefrigeratorAlarm.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/RefrigeratorAndTemperatureControlledCabinetMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/RelativeHumidityMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/RvcCleanMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/RvcOperationalState.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/RvcRunMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ScenesManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ServiceArea.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/SmokeCoAlarm.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/SoftwareDiagnostics.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/SoilMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Switch.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TargetNavigator.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TclDehumidifierCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TemperatureAlarm.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TemperatureControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TemperatureMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/Thermostat.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ThermostatUserInterfaceConfiguration.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ThirdRealityMeteringCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ThreadBorderRouterManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ThreadNetworkDiagnostics.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ThreadNetworkDirectory.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TimeFormatLocalization.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TimeSynchronization.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TlsCertificateManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TlsClientManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/TotalVolatileOrganicCompoundsConcentrationMeasurement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/UnitLocalization.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/UnitTestingCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/UserLabel.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ValveConfigurationAndControl.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WagoCluster.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WakeOnLan.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WaterHeaterManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WaterHeaterMode.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WaterTankLevelMonitoring.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WebRtcTransportDefinitions.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WebRtcTransportProvider.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WebRtcTransportRequestor.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WiFiNetworkDiagnostics.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WiFiNetworkManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/WindowCovering.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/cluster_defs/ZoneManagement.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/clusters/enum.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/tlv/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/chip/tlv/tlvlist.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_python_client.egg-info/dependency_links.txt +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_python_client.egg-info/not-zip-safe +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_python_client.egg-info/requires.txt +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_python_client.egg-info/top_level.txt +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/client/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/client/connection.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/client/exceptions.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/client/models/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/client/models/device_types.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/client/models/node.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/const.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/errors.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/helpers/__init__.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/helpers/api.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/helpers/json.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/helpers/util.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/common/models.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/matter_server/py.typed +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/setup.cfg +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_bigint_wire.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_bridge_node_fixture.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_bridge_topology.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_camera.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_client.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_client_integration.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_credentials.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_icd.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_integration.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_interaction.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_network_topology.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_ota_upload.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_unix_socket.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_util.py +0 -0
- {matter_python_client-1.5.1 → matter_python_client-1.5.3}/tests/test_webrtc_protocol.py +0 -0
|
@@ -182,5 +182,10 @@ __all__ = [
|
|
|
182
182
|
"WiFiNetworkDiagnostics",
|
|
183
183
|
"WiFiNetworkManagement",
|
|
184
184
|
"WindowCovering",
|
|
185
|
+
"YeelightBasicCluster",
|
|
186
|
+
"YeelightBasicConfigCluster",
|
|
187
|
+
"YeelightCubeControlCluster",
|
|
188
|
+
"YeelightEnhancedColorEffectConfigV2Cluster",
|
|
189
|
+
"YeelightOverTheAirCluster",
|
|
185
190
|
"ZoneManagement",
|
|
186
191
|
]
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"""YeelightBasicCluster cluster definition (auto-generated, DO NOT edit)."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
from dataclasses import dataclass, field
|
|
7
|
+
from enum import IntFlag
|
|
8
|
+
|
|
9
|
+
from ... import ChipUtility
|
|
10
|
+
from ...clusters.enum import MatterIntEnum
|
|
11
|
+
from ...tlv import float32, uint
|
|
12
|
+
from ..ClusterObjects import (Cluster, ClusterAttributeDescriptor, ClusterCommand, ClusterEvent, ClusterObject,
|
|
13
|
+
ClusterObjectDescriptor, ClusterObjectFieldDescriptor)
|
|
14
|
+
from ..Types import Nullable, NullValue
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@dataclass
|
|
18
|
+
class YeelightBasicCluster(Cluster):
|
|
19
|
+
id: typing.ClassVar[int] = 0x1312FC00
|
|
20
|
+
|
|
21
|
+
@ChipUtility.classproperty
|
|
22
|
+
def descriptor(cls) -> ClusterObjectDescriptor:
|
|
23
|
+
return ClusterObjectDescriptor(
|
|
24
|
+
Fields=[
|
|
25
|
+
ClusterObjectFieldDescriptor(Label="yeelightID", Tag=0x13120000, Type=typing.Optional[uint]),
|
|
26
|
+
ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x13120001, Type=typing.Optional[uint]),
|
|
27
|
+
ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x13120002, Type=typing.Optional[str]),
|
|
28
|
+
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
|
|
29
|
+
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
|
|
30
|
+
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
|
|
31
|
+
ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
|
|
32
|
+
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
|
|
33
|
+
])
|
|
34
|
+
|
|
35
|
+
yeelightID: typing.Optional[uint] = None
|
|
36
|
+
softwareVersion: typing.Optional[uint] = None
|
|
37
|
+
softwareVersionString: typing.Optional[str] = None
|
|
38
|
+
generatedCommandList: typing.List[uint] = field(default_factory=lambda: [])
|
|
39
|
+
acceptedCommandList: typing.List[uint] = field(default_factory=lambda: [])
|
|
40
|
+
attributeList: typing.List[uint] = field(default_factory=lambda: [])
|
|
41
|
+
featureMap: uint = 0
|
|
42
|
+
clusterRevision: uint = 0
|
|
43
|
+
|
|
44
|
+
class Attributes:
|
|
45
|
+
@dataclass
|
|
46
|
+
class YeelightID(ClusterAttributeDescriptor):
|
|
47
|
+
@ChipUtility.classproperty
|
|
48
|
+
def cluster_id(cls) -> int:
|
|
49
|
+
return 0x1312FC00
|
|
50
|
+
|
|
51
|
+
@ChipUtility.classproperty
|
|
52
|
+
def attribute_id(cls) -> int:
|
|
53
|
+
return 0x13120000
|
|
54
|
+
|
|
55
|
+
@ChipUtility.classproperty
|
|
56
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
57
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
|
|
58
|
+
|
|
59
|
+
value: typing.Optional[uint] = None
|
|
60
|
+
|
|
61
|
+
@dataclass
|
|
62
|
+
class SoftwareVersion(ClusterAttributeDescriptor):
|
|
63
|
+
@ChipUtility.classproperty
|
|
64
|
+
def cluster_id(cls) -> int:
|
|
65
|
+
return 0x1312FC00
|
|
66
|
+
|
|
67
|
+
@ChipUtility.classproperty
|
|
68
|
+
def attribute_id(cls) -> int:
|
|
69
|
+
return 0x13120001
|
|
70
|
+
|
|
71
|
+
@ChipUtility.classproperty
|
|
72
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
73
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
|
|
74
|
+
|
|
75
|
+
value: typing.Optional[uint] = None
|
|
76
|
+
|
|
77
|
+
@dataclass
|
|
78
|
+
class SoftwareVersionString(ClusterAttributeDescriptor):
|
|
79
|
+
@ChipUtility.classproperty
|
|
80
|
+
def cluster_id(cls) -> int:
|
|
81
|
+
return 0x1312FC00
|
|
82
|
+
|
|
83
|
+
@ChipUtility.classproperty
|
|
84
|
+
def attribute_id(cls) -> int:
|
|
85
|
+
return 0x13120002
|
|
86
|
+
|
|
87
|
+
@ChipUtility.classproperty
|
|
88
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
89
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
|
|
90
|
+
|
|
91
|
+
value: typing.Optional[str] = None
|
|
92
|
+
|
|
93
|
+
@dataclass
|
|
94
|
+
class GeneratedCommandList(ClusterAttributeDescriptor):
|
|
95
|
+
@ChipUtility.classproperty
|
|
96
|
+
def cluster_id(cls) -> int:
|
|
97
|
+
return 0x1312FC00
|
|
98
|
+
|
|
99
|
+
@ChipUtility.classproperty
|
|
100
|
+
def attribute_id(cls) -> int:
|
|
101
|
+
return 0x0000FFF8
|
|
102
|
+
|
|
103
|
+
@ChipUtility.classproperty
|
|
104
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
105
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
106
|
+
|
|
107
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
108
|
+
|
|
109
|
+
@dataclass
|
|
110
|
+
class AcceptedCommandList(ClusterAttributeDescriptor):
|
|
111
|
+
@ChipUtility.classproperty
|
|
112
|
+
def cluster_id(cls) -> int:
|
|
113
|
+
return 0x1312FC00
|
|
114
|
+
|
|
115
|
+
@ChipUtility.classproperty
|
|
116
|
+
def attribute_id(cls) -> int:
|
|
117
|
+
return 0x0000FFF9
|
|
118
|
+
|
|
119
|
+
@ChipUtility.classproperty
|
|
120
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
121
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
122
|
+
|
|
123
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
124
|
+
|
|
125
|
+
@dataclass
|
|
126
|
+
class AttributeList(ClusterAttributeDescriptor):
|
|
127
|
+
@ChipUtility.classproperty
|
|
128
|
+
def cluster_id(cls) -> int:
|
|
129
|
+
return 0x1312FC00
|
|
130
|
+
|
|
131
|
+
@ChipUtility.classproperty
|
|
132
|
+
def attribute_id(cls) -> int:
|
|
133
|
+
return 0x0000FFFB
|
|
134
|
+
|
|
135
|
+
@ChipUtility.classproperty
|
|
136
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
137
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
138
|
+
|
|
139
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
140
|
+
|
|
141
|
+
@dataclass
|
|
142
|
+
class FeatureMap(ClusterAttributeDescriptor):
|
|
143
|
+
@ChipUtility.classproperty
|
|
144
|
+
def cluster_id(cls) -> int:
|
|
145
|
+
return 0x1312FC00
|
|
146
|
+
|
|
147
|
+
@ChipUtility.classproperty
|
|
148
|
+
def attribute_id(cls) -> int:
|
|
149
|
+
return 0x0000FFFC
|
|
150
|
+
|
|
151
|
+
@ChipUtility.classproperty
|
|
152
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
153
|
+
return ClusterObjectFieldDescriptor(Type=uint)
|
|
154
|
+
|
|
155
|
+
value: uint = 0
|
|
156
|
+
|
|
157
|
+
@dataclass
|
|
158
|
+
class ClusterRevision(ClusterAttributeDescriptor):
|
|
159
|
+
@ChipUtility.classproperty
|
|
160
|
+
def cluster_id(cls) -> int:
|
|
161
|
+
return 0x1312FC00
|
|
162
|
+
|
|
163
|
+
@ChipUtility.classproperty
|
|
164
|
+
def attribute_id(cls) -> int:
|
|
165
|
+
return 0x0000FFFD
|
|
166
|
+
|
|
167
|
+
@ChipUtility.classproperty
|
|
168
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
169
|
+
return ClusterObjectFieldDescriptor(Type=uint)
|
|
170
|
+
|
|
171
|
+
value: uint = 0
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"""YeelightBasicConfigCluster cluster definition (auto-generated, DO NOT edit)."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
from dataclasses import dataclass, field
|
|
7
|
+
from enum import IntFlag
|
|
8
|
+
|
|
9
|
+
from ... import ChipUtility
|
|
10
|
+
from ...clusters.enum import MatterIntEnum
|
|
11
|
+
from ...tlv import float32, uint
|
|
12
|
+
from ..ClusterObjects import (Cluster, ClusterAttributeDescriptor, ClusterCommand, ClusterEvent, ClusterObject,
|
|
13
|
+
ClusterObjectDescriptor, ClusterObjectFieldDescriptor)
|
|
14
|
+
from ..Types import Nullable, NullValue
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@dataclass
|
|
18
|
+
class YeelightBasicConfigCluster(Cluster):
|
|
19
|
+
id: typing.ClassVar[int] = 0x1312FC01
|
|
20
|
+
|
|
21
|
+
@ChipUtility.classproperty
|
|
22
|
+
def descriptor(cls) -> ClusterObjectDescriptor:
|
|
23
|
+
return ClusterObjectDescriptor(
|
|
24
|
+
Fields=[
|
|
25
|
+
ClusterObjectFieldDescriptor(Label="lanControl", Tag=0x13120001, Type=typing.Optional[bool]),
|
|
26
|
+
ClusterObjectFieldDescriptor(Label="micMusicOnOff", Tag=0x13120002, Type=typing.Optional[bool]),
|
|
27
|
+
ClusterObjectFieldDescriptor(Label="micMusicEffectID", Tag=0x13120003, Type=typing.Optional[uint]),
|
|
28
|
+
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
|
|
29
|
+
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
|
|
30
|
+
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
|
|
31
|
+
ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
|
|
32
|
+
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
|
|
33
|
+
])
|
|
34
|
+
|
|
35
|
+
lanControl: typing.Optional[bool] = None
|
|
36
|
+
micMusicOnOff: typing.Optional[bool] = None
|
|
37
|
+
micMusicEffectID: typing.Optional[uint] = None
|
|
38
|
+
generatedCommandList: typing.List[uint] = field(default_factory=lambda: [])
|
|
39
|
+
acceptedCommandList: typing.List[uint] = field(default_factory=lambda: [])
|
|
40
|
+
attributeList: typing.List[uint] = field(default_factory=lambda: [])
|
|
41
|
+
featureMap: uint = 0
|
|
42
|
+
clusterRevision: uint = 0
|
|
43
|
+
|
|
44
|
+
class Commands:
|
|
45
|
+
@dataclass
|
|
46
|
+
class SetMicMusicMode(ClusterCommand):
|
|
47
|
+
cluster_id: typing.ClassVar[int] = 0x1312FC01
|
|
48
|
+
command_id: typing.ClassVar[int] = 0x13120000
|
|
49
|
+
is_client: typing.ClassVar[bool] = True
|
|
50
|
+
response_type: typing.ClassVar[typing.Optional[str]] = None
|
|
51
|
+
|
|
52
|
+
@ChipUtility.classproperty
|
|
53
|
+
def descriptor(cls) -> ClusterObjectDescriptor:
|
|
54
|
+
return ClusterObjectDescriptor(
|
|
55
|
+
Fields=[
|
|
56
|
+
ClusterObjectFieldDescriptor(Label="on", Tag=0, Type=bool),
|
|
57
|
+
ClusterObjectFieldDescriptor(Label="effectID", Tag=1, Type=typing.Optional[uint]),
|
|
58
|
+
ClusterObjectFieldDescriptor(Label="palette", Tag=2, Type=typing.Optional[typing.List[uint]]),
|
|
59
|
+
])
|
|
60
|
+
|
|
61
|
+
on: bool = False
|
|
62
|
+
effectID: typing.Optional[uint] = None
|
|
63
|
+
palette: typing.Optional[typing.List[uint]] = None
|
|
64
|
+
|
|
65
|
+
class Attributes:
|
|
66
|
+
@dataclass
|
|
67
|
+
class LanControl(ClusterAttributeDescriptor):
|
|
68
|
+
@ChipUtility.classproperty
|
|
69
|
+
def cluster_id(cls) -> int:
|
|
70
|
+
return 0x1312FC01
|
|
71
|
+
|
|
72
|
+
@ChipUtility.classproperty
|
|
73
|
+
def attribute_id(cls) -> int:
|
|
74
|
+
return 0x13120001
|
|
75
|
+
|
|
76
|
+
@ChipUtility.classproperty
|
|
77
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
78
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
|
|
79
|
+
|
|
80
|
+
value: typing.Optional[bool] = None
|
|
81
|
+
|
|
82
|
+
@dataclass
|
|
83
|
+
class MicMusicOnOff(ClusterAttributeDescriptor):
|
|
84
|
+
@ChipUtility.classproperty
|
|
85
|
+
def cluster_id(cls) -> int:
|
|
86
|
+
return 0x1312FC01
|
|
87
|
+
|
|
88
|
+
@ChipUtility.classproperty
|
|
89
|
+
def attribute_id(cls) -> int:
|
|
90
|
+
return 0x13120002
|
|
91
|
+
|
|
92
|
+
@ChipUtility.classproperty
|
|
93
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
94
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
|
|
95
|
+
|
|
96
|
+
value: typing.Optional[bool] = None
|
|
97
|
+
|
|
98
|
+
@dataclass
|
|
99
|
+
class MicMusicEffectID(ClusterAttributeDescriptor):
|
|
100
|
+
@ChipUtility.classproperty
|
|
101
|
+
def cluster_id(cls) -> int:
|
|
102
|
+
return 0x1312FC01
|
|
103
|
+
|
|
104
|
+
@ChipUtility.classproperty
|
|
105
|
+
def attribute_id(cls) -> int:
|
|
106
|
+
return 0x13120003
|
|
107
|
+
|
|
108
|
+
@ChipUtility.classproperty
|
|
109
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
110
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
|
|
111
|
+
|
|
112
|
+
value: typing.Optional[uint] = None
|
|
113
|
+
|
|
114
|
+
@dataclass
|
|
115
|
+
class GeneratedCommandList(ClusterAttributeDescriptor):
|
|
116
|
+
@ChipUtility.classproperty
|
|
117
|
+
def cluster_id(cls) -> int:
|
|
118
|
+
return 0x1312FC01
|
|
119
|
+
|
|
120
|
+
@ChipUtility.classproperty
|
|
121
|
+
def attribute_id(cls) -> int:
|
|
122
|
+
return 0x0000FFF8
|
|
123
|
+
|
|
124
|
+
@ChipUtility.classproperty
|
|
125
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
126
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
127
|
+
|
|
128
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
129
|
+
|
|
130
|
+
@dataclass
|
|
131
|
+
class AcceptedCommandList(ClusterAttributeDescriptor):
|
|
132
|
+
@ChipUtility.classproperty
|
|
133
|
+
def cluster_id(cls) -> int:
|
|
134
|
+
return 0x1312FC01
|
|
135
|
+
|
|
136
|
+
@ChipUtility.classproperty
|
|
137
|
+
def attribute_id(cls) -> int:
|
|
138
|
+
return 0x0000FFF9
|
|
139
|
+
|
|
140
|
+
@ChipUtility.classproperty
|
|
141
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
142
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
143
|
+
|
|
144
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
145
|
+
|
|
146
|
+
@dataclass
|
|
147
|
+
class AttributeList(ClusterAttributeDescriptor):
|
|
148
|
+
@ChipUtility.classproperty
|
|
149
|
+
def cluster_id(cls) -> int:
|
|
150
|
+
return 0x1312FC01
|
|
151
|
+
|
|
152
|
+
@ChipUtility.classproperty
|
|
153
|
+
def attribute_id(cls) -> int:
|
|
154
|
+
return 0x0000FFFB
|
|
155
|
+
|
|
156
|
+
@ChipUtility.classproperty
|
|
157
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
158
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
159
|
+
|
|
160
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
161
|
+
|
|
162
|
+
@dataclass
|
|
163
|
+
class FeatureMap(ClusterAttributeDescriptor):
|
|
164
|
+
@ChipUtility.classproperty
|
|
165
|
+
def cluster_id(cls) -> int:
|
|
166
|
+
return 0x1312FC01
|
|
167
|
+
|
|
168
|
+
@ChipUtility.classproperty
|
|
169
|
+
def attribute_id(cls) -> int:
|
|
170
|
+
return 0x0000FFFC
|
|
171
|
+
|
|
172
|
+
@ChipUtility.classproperty
|
|
173
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
174
|
+
return ClusterObjectFieldDescriptor(Type=uint)
|
|
175
|
+
|
|
176
|
+
value: uint = 0
|
|
177
|
+
|
|
178
|
+
@dataclass
|
|
179
|
+
class ClusterRevision(ClusterAttributeDescriptor):
|
|
180
|
+
@ChipUtility.classproperty
|
|
181
|
+
def cluster_id(cls) -> int:
|
|
182
|
+
return 0x1312FC01
|
|
183
|
+
|
|
184
|
+
@ChipUtility.classproperty
|
|
185
|
+
def attribute_id(cls) -> int:
|
|
186
|
+
return 0x0000FFFD
|
|
187
|
+
|
|
188
|
+
@ChipUtility.classproperty
|
|
189
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
190
|
+
return ClusterObjectFieldDescriptor(Type=uint)
|
|
191
|
+
|
|
192
|
+
value: uint = 0
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"""YeelightCubeControlCluster cluster definition (auto-generated, DO NOT edit)."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
from dataclasses import dataclass, field
|
|
7
|
+
from enum import IntFlag
|
|
8
|
+
|
|
9
|
+
from ... import ChipUtility
|
|
10
|
+
from ...clusters.enum import MatterIntEnum
|
|
11
|
+
from ...tlv import float32, uint
|
|
12
|
+
from ..ClusterObjects import (Cluster, ClusterAttributeDescriptor, ClusterCommand, ClusterEvent, ClusterObject,
|
|
13
|
+
ClusterObjectDescriptor, ClusterObjectFieldDescriptor)
|
|
14
|
+
from ..Types import Nullable, NullValue
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@dataclass
|
|
18
|
+
class YeelightCubeControlCluster(Cluster):
|
|
19
|
+
id: typing.ClassVar[int] = 0x1312FC02
|
|
20
|
+
|
|
21
|
+
@ChipUtility.classproperty
|
|
22
|
+
def descriptor(cls) -> ClusterObjectDescriptor:
|
|
23
|
+
return ClusterObjectDescriptor(
|
|
24
|
+
Fields=[
|
|
25
|
+
ClusterObjectFieldDescriptor(Label="cubeTopology", Tag=0x13120000, Type=typing.Optional[typing.List[uint]]),
|
|
26
|
+
ClusterObjectFieldDescriptor(Label="rotationAngle", Tag=0x13120001, Type=typing.Optional[uint]),
|
|
27
|
+
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
|
|
28
|
+
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
|
|
29
|
+
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
|
|
30
|
+
ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
|
|
31
|
+
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
|
|
32
|
+
])
|
|
33
|
+
|
|
34
|
+
cubeTopology: typing.Optional[typing.List[uint]] = None
|
|
35
|
+
rotationAngle: typing.Optional[uint] = None
|
|
36
|
+
generatedCommandList: typing.List[uint] = field(default_factory=lambda: [])
|
|
37
|
+
acceptedCommandList: typing.List[uint] = field(default_factory=lambda: [])
|
|
38
|
+
attributeList: typing.List[uint] = field(default_factory=lambda: [])
|
|
39
|
+
featureMap: uint = 0
|
|
40
|
+
clusterRevision: uint = 0
|
|
41
|
+
|
|
42
|
+
class Commands:
|
|
43
|
+
@dataclass
|
|
44
|
+
class UpdateTopology(ClusterCommand):
|
|
45
|
+
cluster_id: typing.ClassVar[int] = 0x1312FC02
|
|
46
|
+
command_id: typing.ClassVar[int] = 0x13120002
|
|
47
|
+
is_client: typing.ClassVar[bool] = True
|
|
48
|
+
response_type: typing.ClassVar[typing.Optional[str]] = None
|
|
49
|
+
|
|
50
|
+
@ChipUtility.classproperty
|
|
51
|
+
def descriptor(cls) -> ClusterObjectDescriptor:
|
|
52
|
+
return ClusterObjectDescriptor(
|
|
53
|
+
Fields=[
|
|
54
|
+
ClusterObjectFieldDescriptor(Label="topology", Tag=0, Type=typing.List[uint]),
|
|
55
|
+
])
|
|
56
|
+
|
|
57
|
+
topology: typing.List[uint] = field(default_factory=lambda: [])
|
|
58
|
+
|
|
59
|
+
class Attributes:
|
|
60
|
+
@dataclass
|
|
61
|
+
class CubeTopology(ClusterAttributeDescriptor):
|
|
62
|
+
@ChipUtility.classproperty
|
|
63
|
+
def cluster_id(cls) -> int:
|
|
64
|
+
return 0x1312FC02
|
|
65
|
+
|
|
66
|
+
@ChipUtility.classproperty
|
|
67
|
+
def attribute_id(cls) -> int:
|
|
68
|
+
return 0x13120000
|
|
69
|
+
|
|
70
|
+
@ChipUtility.classproperty
|
|
71
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
72
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
|
|
73
|
+
|
|
74
|
+
value: typing.Optional[typing.List[uint]] = None
|
|
75
|
+
|
|
76
|
+
@dataclass
|
|
77
|
+
class RotationAngle(ClusterAttributeDescriptor):
|
|
78
|
+
@ChipUtility.classproperty
|
|
79
|
+
def cluster_id(cls) -> int:
|
|
80
|
+
return 0x1312FC02
|
|
81
|
+
|
|
82
|
+
@ChipUtility.classproperty
|
|
83
|
+
def attribute_id(cls) -> int:
|
|
84
|
+
return 0x13120001
|
|
85
|
+
|
|
86
|
+
@ChipUtility.classproperty
|
|
87
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
88
|
+
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
|
|
89
|
+
|
|
90
|
+
value: typing.Optional[uint] = None
|
|
91
|
+
|
|
92
|
+
@dataclass
|
|
93
|
+
class GeneratedCommandList(ClusterAttributeDescriptor):
|
|
94
|
+
@ChipUtility.classproperty
|
|
95
|
+
def cluster_id(cls) -> int:
|
|
96
|
+
return 0x1312FC02
|
|
97
|
+
|
|
98
|
+
@ChipUtility.classproperty
|
|
99
|
+
def attribute_id(cls) -> int:
|
|
100
|
+
return 0x0000FFF8
|
|
101
|
+
|
|
102
|
+
@ChipUtility.classproperty
|
|
103
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
104
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
105
|
+
|
|
106
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
107
|
+
|
|
108
|
+
@dataclass
|
|
109
|
+
class AcceptedCommandList(ClusterAttributeDescriptor):
|
|
110
|
+
@ChipUtility.classproperty
|
|
111
|
+
def cluster_id(cls) -> int:
|
|
112
|
+
return 0x1312FC02
|
|
113
|
+
|
|
114
|
+
@ChipUtility.classproperty
|
|
115
|
+
def attribute_id(cls) -> int:
|
|
116
|
+
return 0x0000FFF9
|
|
117
|
+
|
|
118
|
+
@ChipUtility.classproperty
|
|
119
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
120
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
121
|
+
|
|
122
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
123
|
+
|
|
124
|
+
@dataclass
|
|
125
|
+
class AttributeList(ClusterAttributeDescriptor):
|
|
126
|
+
@ChipUtility.classproperty
|
|
127
|
+
def cluster_id(cls) -> int:
|
|
128
|
+
return 0x1312FC02
|
|
129
|
+
|
|
130
|
+
@ChipUtility.classproperty
|
|
131
|
+
def attribute_id(cls) -> int:
|
|
132
|
+
return 0x0000FFFB
|
|
133
|
+
|
|
134
|
+
@ChipUtility.classproperty
|
|
135
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
136
|
+
return ClusterObjectFieldDescriptor(Type=typing.List[uint])
|
|
137
|
+
|
|
138
|
+
value: typing.List[uint] = field(default_factory=lambda: [])
|
|
139
|
+
|
|
140
|
+
@dataclass
|
|
141
|
+
class FeatureMap(ClusterAttributeDescriptor):
|
|
142
|
+
@ChipUtility.classproperty
|
|
143
|
+
def cluster_id(cls) -> int:
|
|
144
|
+
return 0x1312FC02
|
|
145
|
+
|
|
146
|
+
@ChipUtility.classproperty
|
|
147
|
+
def attribute_id(cls) -> int:
|
|
148
|
+
return 0x0000FFFC
|
|
149
|
+
|
|
150
|
+
@ChipUtility.classproperty
|
|
151
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
152
|
+
return ClusterObjectFieldDescriptor(Type=uint)
|
|
153
|
+
|
|
154
|
+
value: uint = 0
|
|
155
|
+
|
|
156
|
+
@dataclass
|
|
157
|
+
class ClusterRevision(ClusterAttributeDescriptor):
|
|
158
|
+
@ChipUtility.classproperty
|
|
159
|
+
def cluster_id(cls) -> int:
|
|
160
|
+
return 0x1312FC02
|
|
161
|
+
|
|
162
|
+
@ChipUtility.classproperty
|
|
163
|
+
def attribute_id(cls) -> int:
|
|
164
|
+
return 0x0000FFFD
|
|
165
|
+
|
|
166
|
+
@ChipUtility.classproperty
|
|
167
|
+
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
|
|
168
|
+
return ClusterObjectFieldDescriptor(Type=uint)
|
|
169
|
+
|
|
170
|
+
value: uint = 0
|