Fix Growatt translation key (#95784)

This commit is contained in:
Joost Lekkerkerker 2023-07-03 18:36:37 +02:00 committed by GitHub
parent f0eb084908
commit 27e4bca1b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ INVERTER_SENSOR_TYPES: tuple[GrowattSensorEntityDescription, ...] = (
), ),
GrowattSensorEntityDescription( GrowattSensorEntityDescription(
key="inverter_temperature", key="inverter_temperature",
translation_key="inverter_energy_today", translation_key="inverter_temperature",
api_key="temperature", api_key="temperature",
native_unit_of_measurement=UnitOfTemperature.CELSIUS, native_unit_of_measurement=UnitOfTemperature.CELSIUS,
device_class=SensorDeviceClass.TEMPERATURE, device_class=SensorDeviceClass.TEMPERATURE,