Force update of sensor every x minutes

@petro I tried what you suggested here, but that doesn’t work for me: the integration entity is not updated. Any advice?

My integration entity:

{
  "entry_id": "ae7[...]5bd",
  "version": 1,
  "minor_version": 1,
  "domain": "integration",
  "title": "wled_energy",
  "data": {},
  "options": {
    "name": "wled_energy",
    "source": "sensor.wled_power",
    "method": "trapezoidal",
    "round": 6.0,
    "unit_time": "h",
    "unit_prefix": "k"
  },
  "pref_disable_new_entities": false,
  "pref_disable_polling": false,
  "source": "user",
  "unique_id": null,
  "disabled_by": null
}

My automation to force an update:

- id: '171[...]620'
  alias: "WLED energy: force update every min"
  trigger:
  - platform: state
    entity_id:
    - sensor.wled_energy
    for:
      hours: 0
      minutes: 1
      seconds: 0
  condition: []
  action:
  - service: homeassistant.update_entity
    metadata: {}
    data: {}
    target:
      entity_id: sensor.wled_energy
  mode: single

I even tried this trigger for the automation, but that doesn’t change anything:

...
  trigger:
  - platform: time_pattern
    minutes: /1
...

The result: when wled_power is constant, wled_energy is not updated:

Bonus question: will the recent “New state timestamp State.last_reported” change anything regarding this issue?