I have read MQTT Discovery: single component
Implemented and it is working almost perfectly. I have 1 device with 3 sensors that magically appear as below.
The problem I am having setting the sensor name. As you can see, all 3 sensors are MQTT Sensor
Here is the MQTT message for one of the sensors
{
"dev": {
"mdl": "LHT52",
"ids": "5390B0",
"name": "T3S3",
"mf": "Dragino"
},
"o": {
"name": "T3S3"
},
"val_tpl": "{{value_json['LwDecoded']['LHT52']['TempC_Internal']}}",
"unit_of_meas": "°C",
"stat_t": "tele/LWG-T3S3_5390B0/SENSOR/A840414E4F5CAE3D",
"device_cla": "temperature",
"pl_avail": "Online",
"ic": "mdi:thermometer",
"state_cla": "measurement"
"avty_t": "tele/LWG-T3S3_5390B0/LWT",
"pl_not_avail": "Offline",
"uniq_id": "tasmota_34B7DA5390B0_TempC_Internal",
"name": "test",
}
Suggestions?
