Skip to content

Commit

Permalink
Remove update_before_add from roomba (home-assistant#102337)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 19, 2023
1 parent 22c21fd commit b57af4e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/roomba/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async def async_setup_entry(
status = roomba_reported_state(roomba).get("bin", {})
if "full" in status:
roomba_vac = RoombaBinStatus(roomba, blid)
async_add_entities([roomba_vac], True)
async_add_entities([roomba_vac])


class RoombaBinStatus(IRobotEntity, BinarySensorEntity):
Expand Down
1 change: 0 additions & 1 deletion homeassistant/components/roomba/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ async def async_setup_entry(
roomba_failed_missions,
roomba_scrubs_count,
],
True,
)


Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/roomba/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ async def async_setup_entry(
constructor = RoombaVacuum

roomba_vac = constructor(roomba, blid)
async_add_entities([roomba_vac], True)
async_add_entities([roomba_vac])

0 comments on commit b57af4e

Please sign in to comment.