Ich weiß jetzt wieder, warum es vorher funktioniert hat:
In der configuration.yaml von Zigbee2MQTT am Ende noch dies einfügen (natürlich ohne die Kommentare)
Code: Alles auswählen
experimental:
# Optional: MQTT output type: json, attribute or attribute_and_json (default: shown below)
# Examples when 'state' of a device is published
# json: topic: 'zigbee2mqtt/my_bulb' payload '{"state": "ON"}'
# attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON"
# attribute_and_json: both json and attribute (see above)
output: 'json'
So sehen die Thing-Definitionen übersichtlicher aus, finde ich.
Vielen Dank, dass ihr mir auf die Sprünge geholfen habt.