change this line, delete the previous widget and trigger. Then re-add both.
client.virtualWrite(1, phvalue, "analog_sensor", "null")
for data types Data types for Cayenne MQTT API
change this line, delete the previous widget and trigger. Then re-add both.
client.virtualWrite(1, phvalue, "analog_sensor", "null")
for data types Data types for Cayenne MQTT API