Discovery message from Tasmota not adding device to home assistant

Hi all,

So I have HAOS, fully updated as of today. I have around 30 Tasmota devices already connected and working fine. I wanted to add one today, the discovery message from Tasmota worked, and the device was added to HA. But the friendly names of my 8 relay board, did not match.

So I poked around and ended up removing it from HA. But now, I cannot add it back.

Here are the core logs with the device (MAC):

2023-11-07 17:59:17.126 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Received discovery data for tasmota device: 8CAAB5152EFD

2023-11-07 17:59:17.126 DEBUG (MainThread) [homeassistant.components.tasmota] Adding or updating tasmota device 8CAAB5152EFD

2023-11-07 17:59:17.129 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_ip’) 8CAAB5152EFD_status_sensor_status_sensor_status_ip

2023-11-07 17:59:17.129 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘last_restart_time’) 8CAAB5152EFD_status_sensor_status_sensor_last_restart_time

2023-11-07 17:59:17.129 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_link_count’) 8CAAB5152EFD_status_sensor_status_sensor_status_link_count

2023-11-07 17:59:17.129 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_mqtt_count’) 8CAAB5152EFD_status_sensor_status_sensor_status_mqtt_count

2023-11-07 17:59:17.130 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_restart_reason’) 8CAAB5152EFD_status_sensor_status_sensor_status_restart_reason

2023-11-07 17:59:17.130 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_rssi’) 8CAAB5152EFD_status_sensor_status_sensor_status_rssi

2023-11-07 17:59:17.130 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_signal’) 8CAAB5152EFD_status_sensor_status_sensor_status_signal

2023-11-07 17:59:17.130 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_ssid’) 8CAAB5152EFD_status_sensor_status_sensor_status_ssid

2023-11-07 17:59:17.130 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_version’) 8CAAB5152EFD_status_sensor_status_sensor_status_version

2023-11-07 17:59:17.130 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 0) 8CAAB5152EFD_switch_relay_0

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 1) 8CAAB5152EFD_switch_relay_1

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 2) 8CAAB5152EFD_switch_relay_2

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 3) 8CAAB5152EFD_switch_relay_3

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 4) 8CAAB5152EFD_switch_relay_4

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 5) 8CAAB5152EFD_switch_relay_5

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 6) 8CAAB5152EFD_switch_relay_6

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Adding new entity: switch (‘8CAAB5152EFD’, ‘switch’, ‘relay’, 7) 8CAAB5152EFD_switch_relay_7

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_ip’)

2023-11-07 17:59:17.131 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘last_restart_time’)

2023-11-07 17:59:17.132 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_link_count’)

2023-11-07 17:59:17.132 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_mqtt_count’)

2023-11-07 17:59:17.132 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_restart_reason’)

2023-11-07 17:59:17.132 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_rssi’)

2023-11-07 17:59:17.132 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_signal’)

2023-11-07 17:59:17.132 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_ssid’)

2023-11-07 17:59:17.132 DEBUG (MainThread) [homeassistant.components.tasmota.discovery] Entity already added, sending update: sensor (‘8CAAB5152EFD’, ‘status_sensor’, ‘status_sensor’, ‘status_version’)

So from this, it seems the device is added and updated, but I cannot find it in the device list or entities.

MQTT logs show the connection:

2023-11-07 17:59:30: New connection from 192.168.10.114:54629 on port 1883.
2023-11-07 17:59:30: New client connected from 192.168.10.114:54629 as DVES_152EFD (p2, c1, k30, u’mqtt_user’).

Here’s the discovery message from Tasmota:

23:59:30.458 MQT: tasmota/discovery/8CAAB5152EFD/sensors = {"sn":{"Time":"2023-11-07T23:59:30"},"ver":1} (retained)

Any ideas?

Also, any explanation why the Tasmota friendly names did not match when first discovered?


Alright, I did another restart of HA and the device just appeared. Any reason why a restart was needed?