wrond device name and device id in mqtt brocker
I make one gismo model for all my switch 2gang "switch_2gang"

next I add two gismo with gismo model "switch_2gang"

But mqtt discovery device name as second gang name, not gismo name

and object discovery as dp name, dot gismo gang name.

what I make wrong?
Yeah that is a bit of a problem. Not sure why that happens. It seems it has to do in which order the data is received in HA. Perhaps the name is reset when you restart HA.
Yeah that is a bit of a problem. Not sure why that happens. It seems it has to do in which order the data is received in HA. Perhaps the name is reset when you restart HA.
I found it. When I (after add gismo) edit gismo, nothing to change and press "Save" information in mqtt is changing, Object name is right, but device name is not right. See picture, gismo name "switch_child", but in mqtt device name is "swith_child_2", its wrong. Object names "switch_child_1" and "switch_child_2" is right.
So first error only when send information to mqtt after add gismo. After edit gismo object name send right, but device name send wrong.
.