mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +02:00
Fix roomba bin full binary sensor (#35443)
This commit is contained in:
@@ -42,7 +42,7 @@ class RoombaBinStatus(IRobotEntity, BinarySensorEntity):
|
|||||||
return self.ICON
|
return self.ICON
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def state(self):
|
def is_on(self):
|
||||||
"""Return the state of the sensor."""
|
"""Return the state of the sensor."""
|
||||||
return roomba_reported_state(self.vacuum).get("bin", {}).get("full", False)
|
return roomba_reported_state(self.vacuum).get("bin", {}).get("full", False)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user