Remove redundant battery power translation key from SolarEdge (#185336)

This commit is contained in:
Franck Nijhof
2026-10-09 12:20:44 +02:00
committed by GitHub
parent 5afaf2741b
commit d2d5ba09eb
3 changed files with 1 additions and 6 deletions
@@ -275,8 +275,6 @@ BATTERY_SENSOR_TYPES = [
SolarEdgeSensorEntityDescription(
key="battery_power",
json_key="power",
# pylint: disable-next=home-assistant-redundant-translation-key
translation_key="battery_power",
entity_registry_enabled_default=False,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfPower.WATT,
@@ -90,9 +90,6 @@
"battery_discharge_energy": {
"name": "Discharge energy today"
},
"battery_power": {
"name": "Power"
},
"battery_state_of_charge": {
"name": "State of charge"
},
@@ -152,7 +152,7 @@
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'battery_power',
'translation_key': None,
'unique_id': '1a2b3c4d5e6f7g8h_BAT001_battery_power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})