Adding a bug-report here:
I have merged this pull request with my current installation of 0.60 and have gotten the deCONZ integration running just fine.
Except for one type of sensor I have; the Aqara Temperature/Humidity sensor.
When this is added to HA from deCONZ it is added as three sensors. One for temperature, one for humidity and one for airpressure.
They are added as sensor.[name in deconz], sensor.[name in deconz]_2 and sensor.[name in deconz]_3
The problem is that this order is seeminly random. After restarting HA, the sensor that previously was temperature might be the humidity or airpressure sensor.
Attaching two screenshots to illustrate. The first image is before restarting HA, the second one is after restarting.
And after restarting HA
<Image with the names reshuffled which I can’t attach as a new user…>
This is only one sensor in deCONZ, and I have not found a way to rename the three individual sub-sensors, only the whole “package”