#Integration not recognized in spook in automation

1 messages · Page 1 of 1 (latest)

woven patrol
#

I want to create an automation to disable Landroid mower integration if season is winter. I've already done that for my moonraker config so I know it's possible.

I've so written the automation, selected the integration to disable in the spook wizard, but I have an error in the automation (see picture).

More strange, in repair i have this :

Spook has found a ghost in your automations 👻

While floating around, Spook crossed path with the following automation:

Système - Gestion Saison Jardin (Worx) (automation.systeme_gestion_saison_jardin_worx)

This automation references the following entities, which are unknown to Home Assistant:

vacuum.landroid_mower
To fix this error, edit the automation and remove the use of these non-existing entities.

Spook 👻 Your homie.

I'm loosing my word. So any help is welcome !

#

and the automation yaml
`triggers:

  • entity_id: input_boolean.out_garden_season
    trigger: state
    actions:
  • if:
    • condition: state
      entity_id: input_boolean.out_garden_season
      state: "off"
      then:
    • target:
      entity_id: vacuum.landroid_mower
      action: homeassistant.disable_config_entry
      data:
      config_entry_id: 01JSQFND1AKZRVBYTHPVC05NRR
      else:
    • target:
      entity_id: vacuum.landroid_mower
      action: homeassistant.enable_config_entry
      data:
      config_entry_id: 01JSQFND1AKZRVBYTHPVC05NRR`
summer rampart
#

There is no need to target an entity when using that action

#

Just provide the config_entry_id

#

triggers:
  - entity_id: input_boolean.out_garden_season
    trigger: state
actions:
  - if:
      - condition: state
        entity_id: input_boolean.out_garden_season
        state: "off"
    then:
      - action: homeassistant.disable_config_entry
        data:
          config_entry_id: 01JSQFND1AKZRVBYTHPVC05NRR
    else:
      - action: homeassistant.enable_config_entry
        data:
          config_entry_id: 01JSQFND1AKZRVBYTHPVC05NRR