Updated to the Vacuum entity integration
The Vacuum entity has seen some recent changes:
- The
VacuumEntitybase class was superseded byStateVacuumEntityby PR 15573 which was merged in August 2018, and has now been scheduled for removal in Home Assistant Core 2024.2.0. All core integrations are already updated, but custom component integration authors need to update their integrations. PR 95920 is a recent example of migrating fromVacuumEntitytoStateVacuumEntity. - Services supported by
VacuumEntityandStateVacuumEntitydiffer, but the documentation was a bit ambiguous causing some integrations to implement services from the wrong base class. This is now prevented by PR 95833. All core integrations are already updated, but custom component integration authors need to update their integrations. - The
battery_icon+battery_levelstate attributes have been deprecated. Integrations can instead report battery status by adding asensorwith device classbatteryto the same device as thevacuumentity, see architecture discussion 938 for details. - The
mapstate attribute has been deprecated. Integrations can instead provide a map image by adding animageentity to the same device as thevacuumentity, see architecture discussion 939 for details.
For more details, refer to the vacuum documentation.
