Fix SMA incorrect device class (#101866)

This commit is contained in:
René Klomp 2023-10-12 13:03:09 +02:00 committed by GitHub
parent 52067dbfe5
commit b70e2f7749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,8 +274,6 @@ SENSOR_ENTITIES: dict[str, SensorEntityDescription] = {
"grid_power_factor_excitation": SensorEntityDescription( "grid_power_factor_excitation": SensorEntityDescription(
key="grid_power_factor_excitation", key="grid_power_factor_excitation",
name="Grid Power Factor Excitation", name="Grid Power Factor Excitation",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.POWER_FACTOR,
entity_registry_enabled_default=False, entity_registry_enabled_default=False,
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.DIAGNOSTIC,
), ),