Migrate Roomba to has entity name (#96085)
This commit is contained in:
parent
fe44827e3c
commit
8b379254c3
4 changed files with 13 additions and 36 deletions
|
@ -28,11 +28,7 @@ class RoombaBinStatus(IRobotEntity, BinarySensorEntity):
|
|||
"""Class to hold Roomba Sensor basic info."""
|
||||
|
||||
ICON = "mdi:delete-variant"
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the sensor."""
|
||||
return f"{self._name} Bin Full"
|
||||
_attr_translation_key = "bin_full"
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue