Just changed my BLE openmqttgateway to ceate devices
Now I have (for one LYWSD03MMC)
homeassistant/sensor/A4C138C38EE5-LYWSD03MMC-batt/config
{"stat_t":"home/OpenMQTTGateway_ESP32_BLE/BTtoMQTT/A4C138C38EE5","name":"LYWSD03MMC-batt","uniq_id":"A4C138C38EE5-LYWSD03MMC-batt","dev_cla":"battery","val_tpl":"{{ value_json.batt | is_defined }}","unit_of_meas":"%","device":{"name":"A4C138C38EE5","model":"LYWSD03MMC","manufacturer":"OMG_community","identifiers":["A4C138C38EE5"]}}
homeassistant/sensor/A4C138C38EE5-LYWSD03MMC-volt/config
{"stat_t":"home/OpenMQTTGateway_ESP32_BLE/BTtoMQTT/A4C138C38EE5","name":"LYWSD03MMC-volt","uniq_id":"A4C138C38EE5-LYWSD03MMC-volt","val_tpl":"{{ value_json.volt | is_defined }}","unit_of_meas":"V","device":{"name":"A4C138C38EE5","model":"LYWSD03MMC","manufacturer":"OMG_community","identifiers":["A4C138C38EE5"]}}
homeassistant/sensor/A4C138C38EE5-LYWSD03MMC-tempc/config
{"stat_t":"home/OpenMQTTGateway_ESP32_BLE/BTtoMQTT/A4C138C38EE5","name":"LYWSD03MMC-tempc","uniq_id":"A4C138C38EE5-LYWSD03MMC-tempc","dev_cla":"temperature","val_tpl":"{{ value_json.tempc | is_defined }}","unit_of_meas":"°C","device":{"name":"A4C138C38EE5","model":"LYWSD03MMC","manufacturer":"OMG_community","identifiers":["A4C138C38EE5"]}}
homeassistant/sensor/A4C138C38EE5-LYWSD03MMC-tempf/config
{"stat_t":"home/OpenMQTTGateway_ESP32_BLE/BTtoMQTT/A4C138C38EE5","name":"LYWSD03MMC-tempf","uniq_id":"A4C138C38EE5-LYWSD03MMC-tempf","dev_cla":"temperature","val_tpl":"{{ value_json.tempf | is_defined }}","unit_of_meas":"F","device":{"name":"A4C138C38EE5","model":"LYWSD03MMC","manufacturer":"OMG_community","identifiers":["A4C138C38EE5"]}}
homeassistant/sensor/A4C138C38EE5-LYWSD03MMC-hum/config
{"stat_t":"home/OpenMQTTGateway_ESP32_BLE/BTtoMQTT/A4C138C38EE5","name":"LYWSD03MMC-hum","uniq_id":"A4C138C38EE5-LYWSD03MMC-hum","dev_cla":"humidity","val_tpl":"{{ value_json.hum | is_defined }}","unit_of_meas":"%","device":"name":"A4C138C38EE5","model":"LYWSD03MMC","manufacturer":"OMG_community","identifiers":["A4C138C38EE5"]}}
For this message :
{"id":"A4:C1:38:C3:8E:E5","name":"ATC_C38EE5","rssi":-73,"model":"LYWSD03MMC_ATC","tempc":24.3,"tempf":75.74,"hum":50,"batt":49,"volt":2.522}