Skip to content

Deprecation warning (2026.1) - STATE_* to VacuumActivity.* #131

@mrunde

Description

@mrunde

As already reported in #111 there is a deprecation warning about the activity property.

Logger: homeassistant.components.vacuum
Source: helpers/deprecation.py:222

STATE_CLEANING was used from robovac, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'robovac' custom integration
STATE_DOCKED was used from robovac, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'robovac' custom integration
STATE_ERROR was used from robovac, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'robovac' custom integration
STATE_IDLE was used from robovac, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.IDLE instead, please report it to the author of the 'robovac' custom integration
STATE_RETURNING was used from robovac, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'robovac' custom integration

This issue is still present even though it was supposed to be fixed in PR #113 as also reported by user @kadeschs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions