dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 503 forks source link

DDF update for xiaomi_zncz04lm_smart_plug to add temperature sensor #7899

Open aramcap opened 2 months ago

aramcap commented 2 months ago

I've added a TYPE_TEMPERATURE_SENSOR to xiaomi_zncz04lm_smart_plug. The value is published here "at":"0x0000", "cl": "0x0002", "fn": "zcl:attr". In the parsing, it is very important to multiply the Attr.val by 100.

github-actions[bot] commented 2 months ago

Hey @aramcap, thanks for your pull request!

[!TIP] Modified bundles can be downloaded here. Relative expire date

DDB changes

Modified

Validation

[!TIP] Everything is fine !

:clock6: Updated for commit 75cdc3c069cd532a76d15763e300dff89aacaf36

mattreim commented 2 months ago

@SwoopX I think it's another example of device temperature.

manup commented 2 months ago

@SwoopX I think it's another example of device temperature.

Good point

SwoopX commented 2 months ago

Right. This one must not be merged.