Help with MQTT and Json for a water meter

Please post code as correctly-formatted text not screenshots:

Is your config under the mqtt: heading in configuration.yaml, either directly or via an !include directive? Anything relevant in the logs?