Can't see notify service or entity
Hello, after 1 week of trying, i came here to see if you can help me.
I first try the original version of hass.agent + hass agent windows, but of course it didn't work.
So i delete all of it, even the entity create by the original version.
I have installed the forked version beta 1 for windows/ and for HA.
I manage to get autodetected, but only media player is create with intégration.
When i got the log, i can see that it say :
loading media player for device:
loading notifications for device
I've try to add a await but this didn't help.
i've try two PC, but it's the same.
Do you have any idea?
Jackiestuxedo
13 Replies
I can see on log :
2024-08-29 14:34:15.571 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry JCH for notify
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 819, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/notify/init.py", line 135, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 202, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2024-08-29 14:34:31.817 DEBUG (MainThread) [custom_components.hass_agent] api changed for: xxxxx
2024-08-29 14:34:31.817 DEBUG (MainThread) [custom_components.hass_agent] loading media player for device: JCH [xxxx]
2024-08-29 14:34:31.818 DEBUG (MainThread) [custom_components.hass_agent] loading notifications for device: JCH [8xxxx
Moreover i can't see a mqtt named notify
also on windows 11 pc, i got this on windows log 2024-08-27 14:43:27.063 +02:00 [WRN] [NOTIFIER] Showing notifications might fail, reason: Unsupported
Hello, are you using the forked version of integration? https://github.com/hass-agent/HASS.Agent-Integration
GitHub
GitHub - hass-agent/HASS.Agent-Integration: HASS.Agent's Home Assis...
HASS.Agent's Home Assistant integration. Adds notifications and mediaplayer capabilities to HASS.Agent - a Windows based client (companion app) for Home Assistant. - hass-agent/HASS.Agent-I...
Yes I am
I have add the repo to hacs, dowloaded it and installed
I see MEDIAPLAYER.XXXX i can see sensor and everything else. But i can't see notify. I cant even see notify on mqtt. I only see it on device, where mediaplayer and notify are Libelled as True.
hm, this specific error is a bit strange, could you please try:
1. remove the discovered device from the integration
2. make sure that the only integration that is installed is the forked one - the original one needs to be removed completly from hacs - if it is let me know, we'll do steps to make sure it's not there
3. restart Home Assistant
4. shut down HASS.Agent
5. use MQTT Explorer and remove the "hass.agent/devices" messages
6. start HASS.Agent
7. restart Home Assistant
8. add the autodiscovered device (and check if the integration version is 2.1.0-beta1)
I've done all steps. I'm on 2.1.0-beta1. Restart everything. I can only see mediaplayer.
Have kinda the same problem
i have only mediaplayer
i think im using the right service for sending notification but it doesnt seem to work although the test notification works on HassAgent
added the available entity from hassagent in HA
and the script that doesnt work
You wont see "notification" in there (screenshot) it should be availalbe as a service call
Please provide the same info as requested from Jackie
Did all of that
I'm on 2.1.0-beta1
I have actionned the service by a script
but i dont see the notification. By the way, when i test the notification test on windows, it doesn't pop up
ok... now it works on one PC... the oldest version of windows
whyyyyyy 😦
btw i can see that autodiscover only works after hass agent on Ha reinstalation
(and of course after all entitiy supression)