Hi,
I got no error in previous version.Then I updated Home Assistant to 0.36.0, I got the mqtt error info.
17-01-16 13:37:04 homeassistant.components.switch: Error while setting up platform mqtt
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/switch/mqtt.py", line 54, in setup_platform
value_template,
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/switch/mqtt.py", line 93, in __init__
hass, self._state_topic, message_received, self._qos)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/event.py", line 26, in factory
hass.loop, ft.partial(async_factory, *args, **kwargs)).result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 402, in result
return self.__get_result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
raise self._exception
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/util/async.py", line 167, in run_callback
future.set_result(callback(*args))
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/mqtt/__init__.py", line 188, in async_subscribe
MQTT_CLIENT.subscribe(topic, qos)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/mqtt/__init__.py", line 373, in subscribe
_raise_on_error(result)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/mqtt/__init__.py", line 484, in _raise_on_error
raise HomeAssistantError('Error talking to MQTT: {}'.format(result))
homeassistant.exceptions.HomeAssistantError: Error talking to MQTT: 1
Any idea?