Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023.4.0 - Error setting up entry PC for hass_agent #24

Open
syphernl opened this issue Apr 5, 2023 · 3 comments
Open

2023.4.0 - Error setting up entry PC for hass_agent #24

syphernl opened this issue Apr 5, 2023 · 3 comments

Comments

@syphernl
Copy link

syphernl commented Apr 5, 2023

After upgrading HASS from 2023.3.6 to 2023.4.0 this integration is broken.

Traceback (most recent call last):
  File "/srv/hass/lib/python3.10/site-packages/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/home/hass/.homeassistant/custom_components/hass_agent/__init__.py", line 162, in async_setup_entry
    await async_subscribe_topics(hass, sub_state)
  File "/srv/hass/lib/python3.10/site-packages/homeassistant/components/mqtt/subscription.py", line 133, in async_subscribe_topics
    await sub.subscribe()
  File "/srv/hass/lib/python3.10/site-packages/homeassistant/components/mqtt/subscription.py", line 60, in subscribe
    self.unsubscribe_callback = await self.subscribe_task
  File "/srv/hass/lib/python3.10/site-packages/homeassistant/components/mqtt/client.py", line 166, in async_subscribe
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Cannot subscribe to topic 'hass.agent/devices/PC', MQTT is not enabled
@DrR0X-glitch
Copy link

Did you manage to fix this? Looks to me like you didn't have mqtt enabled?

@danielbrunt57
Copy link

@wwelles
Copy link

wwelles commented Oct 8, 2024

This should be fixed by https://github.com/danielbrunt57/HASS.Agent-Integration/releases/tag/v2024.4.0

I still have this issue. I think the original project is abandoned, could you submit a PR to https://github.com/hass-agent/HASS.Agent @danielbrunt57 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants