I deleted those entries and i got these errors:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
await entity.async_added_to_hass()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/binary_sensor.py", line 133, in async_added_to_hass
await self._subscribe_topics()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/binary_sensor.py", line 218, in _subscribe_topics
"qos": self._config[CONF_QOS],
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 82, in async_subscribe_topics
await requested.resubscribe_if_necessary(hass, current)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 39, in resubscribe_if_necessary
hass, self.topic, self.message_callback, self.qos, self.encoding
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 443, in async_subscribe
async_remove = await hass.data[DATA_MQTT].async_subscribe(
KeyError: 'mqtt'
2019-11-09 22:09:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
await entity.async_added_to_hass()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/binary_sensor.py", line 133, in async_added_to_hass
await self._subscribe_topics()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/binary_sensor.py", line 218, in _subscribe_topics
"qos": self._config[CONF_QOS],
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 82, in async_subscribe_topics
await requested.resubscribe_if_necessary(hass, current)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 39, in resubscribe_if_necessary
hass, self.topic, self.message_callback, self.qos, self.encoding
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 443, in async_subscribe
async_remove = await hass.data[DATA_MQTT].async_subscribe(
KeyError: 'mqtt'
2019-11-09 22:09:38 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
await entity.async_added_to_hass()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/light/schema_basic.py", line 209, in async_added_to_hass
await self._subscribe_topics()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/light/schema_basic.py", line 534, in _subscribe_topics
self.hass, self._sub_state, topics
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 82, in async_subscribe_topics
await requested.resubscribe_if_necessary(hass, current)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 39, in resubscribe_if_necessary
hass, self.topic, self.message_callback, self.qos, self.encoding
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 443, in async_subscribe
async_remove = await hass.data[DATA_MQTT].async_subscribe(
KeyError: 'mqtt'
2019-11-09 22:09:38 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 406, in _async_add_entity
await entity.async_added_to_hass()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/light/schema_basic.py", line 209, in async_added_to_hass
await self._subscribe_topics()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/light/schema_basic.py", line 534, in _subscribe_topics
self.hass, self._sub_state, topics
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 82, in async_subscribe_topics
await requested.resubscribe_if_necessary(hass, current)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/subscription.py", line 39, in resubscribe_if_necessary
hass, self.topic, self.message_callback, self.qos, self.encoding
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/mqtt/__init__.py", line 443, in async_subscribe
async_remove = await hass.data[DATA_MQTT].async_subscribe(
KeyError: 'mqtt'