you need to use correct data types Data types for Cayenne MQTT API
example:-
Cayenne.virtualWrite(0, PIT01_C1, "analog_sensor", "null" );
you will need to remove the previously added widget from the cayenne dashboard and let it re-add on the next publish.