Notify service missing if offline when rebooting HomeAssistant
When rebooting HomeAssistant, if my PC is offline (which HASS.Agent is installed on), the notify service doesnt exist (and thus triggers repair notices from integrations like Spook) and rebooting homeassistant again after the device is turned on seems to be the only way to automatically clear the repair notice. Is there any way for the entity to remain in HomeAssistant and just change its status to Unavailable similar to how other entities do when the integration fails to set up instead of removing the entities entirely?
Solution:Jump to solution
Try this:
1. Uninstall hass.agent integration
2. Disable local API in hass.agent on PC
...
19 Replies
This is without mqtt correct?
If so we are working on this but cannot update the HACS integration until Sam returns. We will look at distributing a custom install one so can notify you when that happens.
I have MQTT enabled, but I believe the notify is through local api right?
I have both enabled
Okay, I would try disabling local api
Because this doesn't happen for me
But you may be right
And how did you setup the integration? Autodiscovery or manual setup?
I'm confused- am I using the wrong integration? It only has a manual setup for me, and says it only supports Local API
Okay that's the issue then
Here's how it works:
You enable mqtt. Mqtt devices are shown in the mqtt integration.
Hass.agent integration, as long as installed should Autodiscover the mqtt and prompt you to set it up
I guess HASS.Agent Notifier is different from HASS.Agent??
If you manually set it up then something went wrong somewhere
When I click Add Integration, and search HASS.Agent, I just get this
No, so if you only use local API then you have to manually setup. But if you use mqtt you do not have to click on the integration.
Exactly, you should not have to do this.
Right
So I do have MQTT set up, and I have a single sensor in it, but I dont see a notifier attached to the device
Solution
Try this:
1. Uninstall hass.agent integration
2. Disable local API in hass.agent on PC
3. Restart home assistant
4. Install hass.agent integration
5. After a home assistant restart it should Autodiscover
For people finding this later on;
The issue was that hass.agent integration had been setup through local API. The above steps will only fix it in that case.
Also, can you send me your version number, found under the help tab off Hass.agent
2.0.1
Okay cool. After all these steps you should see something like this in the integration tab
That will setup notifications and media player through mqtt.
Do not click add integration because that will try to use local api
is v2022.11.9 the latest version of the integration?
just to be sure
Well that's what I mean. That's the latest you can get through HACS 😂
But no, that is still from Sam. I have my own copy which has more features but nothing you will want or can use.
So yes it's "latest" but old
Gotcha lol
Ok cool, that appears to have fixed it
Even after all that at first Spook was still complaining that the service was missing but one extra reboot again after that seems to have shut it up haha
Thank you!
👍