Skip to content

Recorder Purge Entities not working as expected #65224

Description

@kaizersoje

The problem

I tried the recorder.purge_entities service to remove certain entities from the recorder. I first used the entity_globs option. However, I noticed the Call Service button is disabled when I use this option.

image

I then used the entity_id option to set each entity one by one and then was able to select the Call Service button.

image

After clicking the button, I logged into the SQLite Web addon and can still see those entities are present in the DB.

image

What version of Home Assistant Core has the issue?

core-2021.12.10

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

recorder

Link to integration documentation on our website

https://www.home-assistant.io/integrations/recorder/

Example YAML snippet

service: recorder.purge_entities
data:
  entity_globs: sensor.*_50765cb7d9ea4e2199a4fa879613a492

service: recorder.purge_entities
data: {}
target:
  entity_id: sensor.jphone_info

Anything in the logs that might be useful for us?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions