Reloading Integration via automation

Hi,

I’m already using the Home Connect (Bosch) integration for a while and suddenly it stopped refreshing the correct states. I found out that, when I manually reload the integration the states become active and polling again. To patch this situation, I’m currently using the following automation to reload the integration when my (Shelly) Power Plug is changing states.

alias: 🤖 Automation - Reload Home Connect Integration
description: >
  Reload Home Connect integration when the washing machine or dryer starts based
  on Shelly plug power usage.
triggers:
  - entity_id: sensor.shellyplug_power
    above: 0
    trigger: numeric_state
actions:
  - data:
      entry_id: <CORRECT ID FROM .storage>config file
    action: homeassistant.reload_config_entry
  - data:
      message: Home Connect integration has been reloaded due to appliance activity.
    action: notify.mobile_phone
mode: single

I’m receiving the notification correctly when the power plug states are updated, but my Home Connect integration is not being reloaded. What am I doing wrong?

I want to do something very similar to this, did you ever solve it. I have a Victron integration that becomes stale and I want to reload just that integration. Is it possible?

When I do it manually via HA it works fine.

For Bosch I was lucky because someone made a Home Connect Alt integration which saved me. Unfortunately I don’t have a solution for your Victron Integration…