- Remove MQTT Command Topic.
- Remove
/contactfrom MQTT State Topic. - Check ‘Show advanced’.
- Set ‘Incoming Value Transformations’ to
JSONPATH:$.contact - Optional: Set Custom Off/On/Open/Closed Values to your needs (use
falseandtrue)
Further reading: