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

Error adding entity binary_sensor.kavo_2024_alerts for domain binary_sensor with platform blueiris #247

Open
Benj-HaRRison opened this issue Nov 18, 2024 · 1 comment

Comments

@Benj-HaRRison
Copy link

Регистратор: homeassistant.components.binary_sensor
Источник: helpers/entity_platform.py:918
интеграция: Бинарный сенсор (документация, проблемы)
Первое сообщение: 01:45:29 (1 сообщений)
Последнее сообщение: 01:45:29

Error adding entity binary_sensor.kavo_2024_alerts for domain binary_sensor with platform blueiris
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 220, in async_subscribe_internal
mqtt_data = hass.data[DATA_MQTT]
~~~~~~~~~^^^^^^^^^^^
KeyError: 'mqtt'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1367, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/blueiris/models/base_entity.py", line 101, in async_added_to_hass
await self.async_added_to_hass_local()
File "/config/custom_components/blueiris/binary_sensors/main.py", line 59, in async_added_to_hass_local
self.remove_subscription = await async_subscribe(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 199, in async_subscribe
return async_subscribe_internal(hass, topic, msg_callback, qos, encoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 222, in async_subscribe_internal
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Cannot subscribe to topic 'BlueIris/+/Status', make sure MQTT is set up correctly

@kramttocs
Copy link
Collaborator

Did you take the action mentioned in the error?

Cannot subscribe to topic 'BlueIris/+/Status', make sure MQTT is set up correctly

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

2 participants