mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Migrate ReCollect Waste to new entity naming style (#74914)
This commit is contained in:
parent
4433065438
commit
07444dba2a
@ -28,11 +28,11 @@ SENSOR_TYPE_NEXT_PICKUP = "next_pickup"
|
||||
SENSOR_DESCRIPTIONS = (
|
||||
SensorEntityDescription(
|
||||
key=SENSOR_TYPE_CURRENT_PICKUP,
|
||||
name="Current Pickup",
|
||||
name="Current pickup",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key=SENSOR_TYPE_NEXT_PICKUP,
|
||||
name="Next Pickup",
|
||||
name="Next pickup",
|
||||
),
|
||||
)
|
||||
|
||||
@ -68,6 +68,7 @@ class ReCollectWasteSensor(CoordinatorEntity, SensorEntity):
|
||||
"""ReCollect Waste Sensor."""
|
||||
|
||||
_attr_device_class = SensorDeviceClass.DATE
|
||||
_attr_has_entity_name = True
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user