In case anyone is getting configuration errors with a recent HA core update, this post helped:
Modbus configuration gives an error - Home Assistant Community (home-assistant.io)
Example error
count: 2 cannot be combined with data_type: float32
tldr: Remove / comment out the line(s) with count: 1 or count:2