Fix roomba bin full binary sensor (#35443)
This commit is contained in:
1 parent
08087b0f99
commit
8050d8555e
1 file changed
+1
-1
@@ -42,7 +42,7 @@ class RoombaBinStatus(IRobotEntity, BinarySensorEntity):
|
||||
return self.ICON
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
def is_on(self):
|
||||
"""Return the state of the sensor."""
|
||||
return roomba_reported_state(self.vacuum).get("bin", {}).get("full", False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user