3232 REVOLUTIONS_PER_MINUTE ,
3333 EntityCategory ,
3434 Platform ,
35+ UnitOfApparentPower ,
3536 UnitOfElectricCurrent ,
3637 UnitOfElectricPotential ,
3738 UnitOfEnergy ,
3839 UnitOfPower ,
3940 UnitOfPressure ,
41+ UnitOfReactivePower ,
4042 UnitOfTemperature ,
4143 UnitOfTime ,
4244 UnitOfVolume ,
@@ -782,10 +784,43 @@ def _update_from_device(self) -> None:
782784 clusters .ElectricalPowerMeasurement .Attributes .ActivePower ,
783785 ),
784786 ),
787+ MatterDiscoverySchema (
788+ platform = Platform .SENSOR ,
789+ entity_description = MatterSensorEntityDescription (
790+ key = "ElectricalPowerMeasurementApparentPower" ,
791+ device_class = SensorDeviceClass .APPARENT_POWER ,
792+ entity_category = EntityCategory .DIAGNOSTIC ,
793+ native_unit_of_measurement = UnitOfApparentPower .MILLIVOLT_AMPERE ,
794+ suggested_unit_of_measurement = UnitOfApparentPower .VOLT_AMPERE ,
795+ suggested_display_precision = 2 ,
796+ state_class = SensorStateClass .MEASUREMENT ,
797+ ),
798+ entity_class = MatterSensor ,
799+ required_attributes = (
800+ clusters .ElectricalPowerMeasurement .Attributes .ApparentPower ,
801+ ),
802+ ),
803+ MatterDiscoverySchema (
804+ platform = Platform .SENSOR ,
805+ entity_description = MatterSensorEntityDescription (
806+ key = "ElectricalPowerMeasurementReactivePower" ,
807+ device_class = SensorDeviceClass .REACTIVE_POWER ,
808+ entity_category = EntityCategory .DIAGNOSTIC ,
809+ native_unit_of_measurement = UnitOfReactivePower .MILLIVOLT_AMPERE_REACTIVE ,
810+ suggested_unit_of_measurement = UnitOfReactivePower .VOLT_AMPERE_REACTIVE ,
811+ suggested_display_precision = 2 ,
812+ state_class = SensorStateClass .MEASUREMENT ,
813+ ),
814+ entity_class = MatterSensor ,
815+ required_attributes = (
816+ clusters .ElectricalPowerMeasurement .Attributes .ReactivePower ,
817+ ),
818+ ),
785819 MatterDiscoverySchema (
786820 platform = Platform .SENSOR ,
787821 entity_description = MatterSensorEntityDescription (
788822 key = "ElectricalPowerMeasurementVoltage" ,
823+ translation_key = "voltage" ,
789824 device_class = SensorDeviceClass .VOLTAGE ,
790825 entity_category = EntityCategory .DIAGNOSTIC ,
791826 native_unit_of_measurement = UnitOfElectricPotential .MILLIVOLT ,
@@ -796,10 +831,45 @@ def _update_from_device(self) -> None:
796831 entity_class = MatterSensor ,
797832 required_attributes = (clusters .ElectricalPowerMeasurement .Attributes .Voltage ,),
798833 ),
834+ MatterDiscoverySchema (
835+ platform = Platform .SENSOR ,
836+ entity_description = MatterSensorEntityDescription (
837+ key = "ElectricalPowerMeasurementRMSVoltage" ,
838+ translation_key = "rms_voltage" ,
839+ device_class = SensorDeviceClass .VOLTAGE ,
840+ entity_category = EntityCategory .DIAGNOSTIC ,
841+ native_unit_of_measurement = UnitOfElectricPotential .MILLIVOLT ,
842+ suggested_unit_of_measurement = UnitOfElectricPotential .VOLT ,
843+ suggested_display_precision = 0 ,
844+ state_class = SensorStateClass .MEASUREMENT ,
845+ ),
846+ entity_class = MatterSensor ,
847+ required_attributes = (
848+ clusters .ElectricalPowerMeasurement .Attributes .RMSVoltage ,
849+ ),
850+ ),
851+ MatterDiscoverySchema (
852+ platform = Platform .SENSOR ,
853+ entity_description = MatterSensorEntityDescription (
854+ key = "ElectricalPowerMeasurementApparentCurrent" ,
855+ translation_key = "apparent_current" ,
856+ device_class = SensorDeviceClass .CURRENT ,
857+ entity_category = EntityCategory .DIAGNOSTIC ,
858+ native_unit_of_measurement = UnitOfElectricCurrent .MILLIAMPERE ,
859+ suggested_unit_of_measurement = UnitOfElectricCurrent .AMPERE ,
860+ suggested_display_precision = 2 ,
861+ state_class = SensorStateClass .MEASUREMENT ,
862+ ),
863+ entity_class = MatterSensor ,
864+ required_attributes = (
865+ clusters .ElectricalPowerMeasurement .Attributes .ApparentCurrent ,
866+ ),
867+ ),
799868 MatterDiscoverySchema (
800869 platform = Platform .SENSOR ,
801870 entity_description = MatterSensorEntityDescription (
802871 key = "ElectricalPowerMeasurementActiveCurrent" ,
872+ translation_key = "active_current" ,
803873 device_class = SensorDeviceClass .CURRENT ,
804874 entity_category = EntityCategory .DIAGNOSTIC ,
805875 native_unit_of_measurement = UnitOfElectricCurrent .MILLIAMPERE ,
@@ -812,6 +882,40 @@ def _update_from_device(self) -> None:
812882 clusters .ElectricalPowerMeasurement .Attributes .ActiveCurrent ,
813883 ),
814884 ),
885+ MatterDiscoverySchema (
886+ platform = Platform .SENSOR ,
887+ entity_description = MatterSensorEntityDescription (
888+ key = "ElectricalPowerMeasurementReactiveCurrent" ,
889+ translation_key = "reactive_current" ,
890+ device_class = SensorDeviceClass .CURRENT ,
891+ entity_category = EntityCategory .DIAGNOSTIC ,
892+ native_unit_of_measurement = UnitOfElectricCurrent .MILLIAMPERE ,
893+ suggested_unit_of_measurement = UnitOfElectricCurrent .AMPERE ,
894+ suggested_display_precision = 2 ,
895+ state_class = SensorStateClass .MEASUREMENT ,
896+ ),
897+ entity_class = MatterSensor ,
898+ required_attributes = (
899+ clusters .ElectricalPowerMeasurement .Attributes .ReactiveCurrent ,
900+ ),
901+ ),
902+ MatterDiscoverySchema (
903+ platform = Platform .SENSOR ,
904+ entity_description = MatterSensorEntityDescription (
905+ key = "ElectricalPowerMeasurementRMSCurrent" ,
906+ translation_key = "rms_current" ,
907+ device_class = SensorDeviceClass .CURRENT ,
908+ entity_category = EntityCategory .DIAGNOSTIC ,
909+ native_unit_of_measurement = UnitOfElectricCurrent .MILLIAMPERE ,
910+ suggested_unit_of_measurement = UnitOfElectricCurrent .AMPERE ,
911+ suggested_display_precision = 2 ,
912+ state_class = SensorStateClass .MEASUREMENT ,
913+ ),
914+ entity_class = MatterSensor ,
915+ required_attributes = (
916+ clusters .ElectricalPowerMeasurement .Attributes .RMSCurrent ,
917+ ),
918+ ),
815919 MatterDiscoverySchema (
816920 platform = Platform .SENSOR ,
817921 entity_description = MatterSensorEntityDescription (
0 commit comments