Remove redundant wind direction translation key from INDI Allsky (#185325)

This commit is contained in:
Franck Nijhof
2026-10-09 12:13:38 +02:00
committed by GitHub
parent f9c0c6f6c3
commit 281a7eaf3d
3 changed files with 1 additions and 6 deletions
@@ -157,8 +157,6 @@ PREDEFINED_SENSOR_DESCRIPTIONS: tuple[IndiAllSkySensorEntityDescription, ...] =
),
IndiAllSkySensorEntityDescription(
key="wind_direction",
# pylint: disable-next=home-assistant-redundant-translation-key
translation_key="wind_direction",
device_class=SensorDeviceClass.WIND_DIRECTION,
native_unit_of_measurement=DEGREE,
state_class=SensorStateClass.MEASUREMENT_ANGLE,
@@ -108,9 +108,6 @@
},
"stars": {
"name": "Stars"
},
"wind_direction": {
"name": "Wind direction"
}
}
},
@@ -1005,7 +1005,7 @@
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'wind_direction',
'translation_key': None,
'unique_id': '1234567890abcdef1234567890abcdef_wind_direction',
'unit_of_measurement': '°',
})