mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add icon translations to DWD Weather Warnings (#108501)
This commit is contained in:
parent
6a197e93aa
commit
48c434da86
12
homeassistant/components/dwd_weather_warnings/icons.json
Normal file
12
homeassistant/components/dwd_weather_warnings/icons.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"current_warning_level": {
|
||||||
|
"default": "mdi:close-octagon-outline"
|
||||||
|
},
|
||||||
|
"advance_warning_level": {
|
||||||
|
"default": "mdi:close-octagon-outline"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -44,12 +44,10 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=CURRENT_WARNING_SENSOR,
|
key=CURRENT_WARNING_SENSOR,
|
||||||
translation_key=CURRENT_WARNING_SENSOR,
|
translation_key=CURRENT_WARNING_SENSOR,
|
||||||
icon="mdi:close-octagon-outline",
|
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=ADVANCE_WARNING_SENSOR,
|
key=ADVANCE_WARNING_SENSOR,
|
||||||
translation_key=ADVANCE_WARNING_SENSOR,
|
translation_key=ADVANCE_WARNING_SENSOR,
|
||||||
icon="mdi:close-octagon-outline",
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user