#is there a way to automate a reload of

1 messages ยท Page 1 of 1 (latest)

rigid mural
#

Also interested in this. Hope somebody can help us ๐Ÿ™‚

tranquil sage
#

Service homeassistant.reload_config_entry
But the underlying issue should be resolved, not the symptom

rigid mural
#

Okay I have just created an automation looks like the first tests work.

Automation:

    State changes -> select entity
    I have set the attribute to 'Unavailable' 
And if:
  Entity: same entity
  State: Unavailable
Then do:
  service: MQTT: Reload```

I have simply tested it by disconnecting the device and restarting the MQTT so the states appears as `Unavailable`. After it connecting again I am able to detect the stuff
rigid mural
tranquil sage
#

No, you should fix the problem itself

rigid mural
#

I dont quite get it. Where should I add then that line?

tranquil sage
#

That is a service, you can call to reload a config entry. But that is not a proper solution.

rigid mural
#

Ah okay okay. Thx ๐Ÿ™‚