I finally sorted this, as @TrystanLea said i added a publish to MQTT line in inputs.

It’s a shame there is not more explanation about how to integrate the openevse with MQTT and emonpi. It’s is assumed you have a good knowledge of how the UI works but I found this to be very vague.

Being that the solar divert is a brilliant feature of the openEVSE it is so frustrating to setup. Perhaps the emonpi setup template could incorporate an MQTT command at setup then if you add an openEVSE this functionality would work very easily without having to tweek up the inputs.