Skip to content

Instantly share code, notes, and snippets.

View piyushpaliwal's full-sized avatar
🏠
Working from home

piyushpaliwal

🏠
Working from home
View GitHub Profile
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