From d8d28a947522db95b6db110b93fc45c1f1d9043b Mon Sep 17 00:00:00 2001 From: Johan Zander Date: Mon, 15 Dec 2025 17:12:41 +0000 Subject: [PATCH 1/2] Add Spook requirement note to Growatt automation example --- source/_integrations/growatt_server.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_integrations/growatt_server.markdown b/source/_integrations/growatt_server.markdown index b0d3741997c8..b890138d2dfc 100644 --- a/source/_integrations/growatt_server.markdown +++ b/source/_integrations/growatt_server.markdown @@ -161,7 +161,11 @@ If you're experiencing authentication failures or account lockouts: - To disable: Go to {% my integrations title="**Settings** > **Devices & services**" %}, select the Growatt integration, click the three dots {% icon "mdi:dots-vertical" %} menu, and select **Disable**. - Re-enable after Home Assistant has fully restarted. -4. **Automate integration management during restarts**: If you continue experiencing account lockouts, you can create an automation to automatically disable and re-enable the integration during Home Assistant restarts: +4. **Automate integration management during restarts**: If you continue experiencing account lockouts, you can create an automation to automatically disable and re-enable the integration during Home Assistant restarts. + + {% note %} + This automation requires the [Spook](https://spook.boo/) custom integration to function, as it provides the `homeassistant.enable_config_entry` and `homeassistant.disable_config_entry` actions. + {% endnote %} ```yaml - id: growatt_integration_enable_disable From 3bfcd96a4fb24d5df1a7ef0c4e1e8fb9ba1a7655 Mon Sep 17 00:00:00 2001 From: Johan Zander Date: Tue, 16 Dec 2025 12:53:12 +0000 Subject: [PATCH 2/2] Removed troubleshooting section that required custom integration. --- source/_integrations/growatt_server.markdown | 50 -------------------- 1 file changed, 50 deletions(-) diff --git a/source/_integrations/growatt_server.markdown b/source/_integrations/growatt_server.markdown index b890138d2dfc..b3302ccbbc4a 100644 --- a/source/_integrations/growatt_server.markdown +++ b/source/_integrations/growatt_server.markdown @@ -161,56 +161,6 @@ If you're experiencing authentication failures or account lockouts: - To disable: Go to {% my integrations title="**Settings** > **Devices & services**" %}, select the Growatt integration, click the three dots {% icon "mdi:dots-vertical" %} menu, and select **Disable**. - Re-enable after Home Assistant has fully restarted. -4. **Automate integration management during restarts**: If you continue experiencing account lockouts, you can create an automation to automatically disable and re-enable the integration during Home Assistant restarts. - - {% note %} - This automation requires the [Spook](https://spook.boo/) custom integration to function, as it provides the `homeassistant.enable_config_entry` and `homeassistant.disable_config_entry` actions. - {% endnote %} - - ```yaml - - id: growatt_integration_enable_disable - alias: Growatt integration enable and disable - description: "Temporarily disables the Growatt integration to prevent account lockouts." - triggers: - - trigger: homeassistant - event: start - id: ha_start - - trigger: homeassistant - event: shutdown - id: ha_shutdown - - trigger: event - event_type: homeassistant_stop - id: ha_restart - conditions: [] - actions: - - choose: - - alias: Enable Growatt integration - conditions: - - condition: trigger - id: ha_start - sequence: - - delay: - minutes: 10 - - action: homeassistant.enable_config_entry - data: - config_entry_id: REPLACE-WITH-YOUR-CONFIG-ENTRY-ID - - alias: Disable Growatt integration - conditions: - - condition: or - conditions: - - condition: trigger - id: ha_shutdown - - condition: trigger - id: ha_restart - sequence: - - action: homeassistant.disable_config_entry - data: - config_entry_id: REPLACE-WITH-YOUR-CONFIG-ENTRY-ID - mode: single - ``` - - Replace `REPLACE-WITH-YOUR-CONFIG-ENTRY-ID` with your actual Growatt integration config entry ID. You can find this ID in {% my integrations title="**Settings** > **Devices & services**" %} by selecting your Growatt integration and checking the URL or developer tools. - ## Removing the integration {% include integrations/remove_device_service.md %}