Purge not working?

Hi,

Recently I’ve added a new entity to Entity_globs and It looks like purge doesn’t work for this particular entity.

In UI automations it looks like that:

in yaml editor:

description: ""
triggers:
  - trigger: time
    at: "03:00:00"
conditions: []
actions:
  - action: recorder.purge_entities
    metadata: {}
    data:
      keep_days: 3
      entity_globs: sensor.shelly3em_* sensor.192_168_0_103_*
mode: single

First entity - shelly3em works fine, the second one doesn’t work.

Even if I edit it like that:

or here:

alias: Purge L1L2L3 mqtt
description: ""
triggers:
  - trigger: time
    at: "03:00:00"
conditions: []
actions:
  - action: recorder.purge_entities
    metadata: {}
    data:
      keep_days: 3
      entity_globs: 
        sensor.shelly3em_*
        sensor.192_168_0_103_*
mode: single

still nothing

Shelly3EM - yellow one is fine,
PV POWER - blue one is not purged

What’s wrong?

Now Im actually confused.

Im not really sure if it works at all…
I see 5 days with all data - Shelly, and I would expect only 3 days with full data.

Thank you.

A liste implies hyphens (-), so

      entity_globs: 
        - sensor.shelly3em_*
        - sensor.192_168_0_103_*

thx. Ill try

should I expect results right after firing the automation ?

Now I have it like this:

alias: Purge L1L2L3 mqtt
description: ""
triggers:
  - trigger: time
    at: "03:00:00"
conditions: []
actions:
  - action: recorder.purge_entities
    metadata: {}
    data:
      keep_days: 3
      entity_globs:
        - sensor.shelly3em_*
        - sensor.192_168_0_103_*
mode: single

and only the first one (Shelly3EM) seems to be working:

- sensor.192_168_0_103_battery_current
- sensor.192_168_0_103_*
- sensor.192_168_0_103*

First one works. Last 2 doesn’t. Why?