mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Add entity translations to Recollect waste (#96037)
This commit is contained in:
parent
529846d3a2
commit
fec40ec250
@ -28,11 +28,11 @@ SENSOR_TYPE_NEXT_PICKUP = "next_pickup"
|
||||
SENSOR_DESCRIPTIONS = (
|
||||
SensorEntityDescription(
|
||||
key=SENSOR_TYPE_CURRENT_PICKUP,
|
||||
name="Current pickup",
|
||||
translation_key=SENSOR_TYPE_CURRENT_PICKUP,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key=SENSOR_TYPE_NEXT_PICKUP,
|
||||
name="Next pickup",
|
||||
translation_key=SENSOR_TYPE_NEXT_PICKUP,
|
||||
),
|
||||
)
|
||||
|
||||
|
@ -24,5 +24,15 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"current_pickup": {
|
||||
"name": "Current pickup"
|
||||
},
|
||||
"next_pickup": {
|
||||
"name": "Next pickup"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user