Autodiscovery problem

Hello,
Integration openMQTTGateway with my Domoticz server, I encounter a small problem: in the config topic message, openMQTTGateway use mixed full and abbreviated format:

homeassistant/sensor/Ambientweather-F007TH-2-154-humidity/config
{"stat_t":"+/+/RTL_433toMQTT/Ambientweather-F007TH/2/154","dev_cla":"humidity","unit_of_meas":"%","name":"Humidity","uniq_id":"Ambientweather-F007TH-2-154-humidity","val_tpl":"{{ value_json.humidity | is_defined }}","stat_cla":"measurement","device":{"ids":["Ambientweather-F007TH-2-154"],"cns":[["mac","Ambientweather-F007TH-2-154"]],"mdl":"Ambientweather-F007TH","name":"Ambientweather-F007TH-2-154","via_device":"OMG_multi_receiver"}}

see: "device":{"ids" . The Domoticz server doesn’t allow mixed format and decode only "dev":{"ids" or "device":{"identifiers" .

Asking the Domoticz team suggesting them to allow mixed formats, their answer is:

No this is not an issue with Domoticz and has to be fixed by the one creating these config objects.

I don’t know if they are right, but would it be possible for openMQTTGateway to use only full or only abbreviated format?

Thanks for your attention.

Hi @Michel

@PLambrechtsen submitted consistency of the Auto Discovery MQTT keys. Have a go with the current development build and let us know how it works for you.

1 Like

Thanks @DigiH I think I got all of them. :slight_smile: