mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Remove redundant wind direction translation key from INDI Allsky (#185325)
This commit is contained in:
@@ -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': '°',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user