Listen to input on dashboard 2 ui-template

The core missing piece you're looking for is:

watch: {
    msg: function(){        
        // do stuff with msg.payload
    },
}

This will run the relevant functionality when a new message is received, in your case, you could run this.status = msg.payload

2 Likes