DW1 Magnetic Sensor via Sonoff Bridge - Basic help

 value_template: '{{value_json.RfReceived.Data}}'

But you should really read this :