Ich habe mal den Bewegungsmelder von Osram (Lightify bzw. Smart+) und den Temperatur-/Luftfeuchte-Sensor ohne Luftdruck von Xiaomi ergänzt:
Index: mqtt2.template
===================================================================
--- mqtt2.template (Revision 20188)
+++ mqtt2.template (Arbeitskopie)
@@ -378,7 +378,26 @@
deletereading -q DEVICE (?!associatedWith).*
attr DEVICE model L_14_aqara_cube
+# Osram Lightify, Smart+ Motion Sensor
+name:L_15_zigbee2mqtt_osram_motion_sensor
+desc: Osram motion sensor via zigbee2mqtt <br>Tested with: Osram Lightify Motion Sensor
+filter:TYPE=MQTT2_DEVICE:FILTER=CID=zigbee.*
+par:BASE_TOPIC;base topic as set in configuration.yaml of the zigbee2mqtt bridge in the topics;{ AttrVal("DEVICE","readingList","") =~ m,([^/]+)[/].*:, ? $1 : undef }
+par:DEV_ID;name of the device in the zigbee2mqtt bridge;{ AttrVal("DEVICE","readingList","") =~ m,[^/]+[/]([^/]+).*:, ? $1 : undef }
+attr DEVICE stateFormat Motion: occupancy T: temperature
+attr DEVICE readingList BASE_TOPIC/DEV_ID:.* { json2nameValue($EVENT) }
+deletereading -q DEVICE (?!associatedWith).*
+attr DEVICE model L_15_osram_motion_sensor
+name:L_16_zigbee2mqtt_TempHumSensor
+desc: Temp/hum sensor via zigbee2mqtt <br>Tested with: Xiaomi MiJia WSDCGQ01LM Temperature Humidity Sensor
+filter:TYPE=MQTT2_DEVICE:FILTER=CID=zigbee.*
+par:BASE_TOPIC;base topic as set in configuration.yaml of the zigbee2mqtt bridge in the topics;{ AttrVal("DEVICE","readingList","") =~ m,([^/]+)[/].*:, ? $1 : undef }
+par:DEV_ID;name of the device in the zigbee2mqtt bridge;{ AttrVal("DEVICE","readingList","") =~ m,[^/]+[/]([^/]+).*:, ? $1 : undef }
+attr DEVICE stateFormat T: temperature H: humidity
+attr DEVICE readingList BASE_TOPIC/DEV_ID:.* { json2nameValue($EVENT) }
+deletereading -q DEVICE (?!associatedWith).*
+attr DEVICE model L_16_TempHumSensor
###########################################
# TASMOTA