There is no “SNZB-02”, I need your exact model id and manufacture name to make a compatible DDF.
The temperature sensor pls, this one is already done, I m using it for my device.
Or you can it yourself, you have the DDF here Sonoff sensors disconnected - #7 by Smanar
Just take care you have good value for modelid and manufacturename.
Then you can re-include the device to reset the old setting and set the new one.
I don’t remember what is your OS ?
For HA How to add/edit a DDF on Home assistant using text editor?
For normal OS
All DDF provided directly with deCONZ typically reside in
/usr/share/deCONZ/devices/on a Linux system and are loaded first. However, files residing in the home directory of the user running deCONZ (e.g.
/home//.local/share/dresden-elektronik/deCONZ/devices) will override the pre-packaged files to allow users to amend and keep their own files if desired.