- Remove MQTT Command Topic.
- Remove
/contact
from 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
false
andtrue
)
Further reading: