DHT 22+Rain sensor+NodeMCU V3

have a look at this topic Data types for Cayenne MQTT API
first, remove all the widgets from the dashboard, make the changes with correct data types in your code and upload it. once done it will automatically create green temporary widgets.add them by clicking on +
if you still have trouble making the changes in your code, let me know.