Skip to content

Instantly share code, notes, and snippets.

@piyushpaliwal
Created February 14, 2019 04:41
Show Gist options
  • Save piyushpaliwal/87039f106529801104a9bc994974f9a1 to your computer and use it in GitHub Desktop.
Save piyushpaliwal/87039f106529801104a9bc994974f9a1 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 350, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/src/app/homeassistant/components/mqtt/light/schema_basic.py", line 167, in async_added_to_hass
await self._subscribe_topics()
File "/usr/src/app/homeassistant/components/mqtt/light/schema_basic.py", line 470, in _subscribe_topics
topics)
File "/usr/src/app/homeassistant/components/mqtt/subscription.py", line 83, in async_subscribe_topics
await requested.resubscribe_if_necessary(hass, current)
File "/usr/src/app/homeassistant/components/mqtt/subscription.py", line 44, in resubscribe_if_necessary
self.qos, self.encoding
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 320, in async_subscribe
qos, encoding)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 702, in async_subscribe
await self._async_perform_subscription(topic, qos)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 737, in _async_perform_subscription
_raise_on_error(result)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 822, in _raise_on_error
'Error talking to MQTT: {}'.format(mqtt.error_string(result_code)))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: The client is not currently connected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment