Econet water heater to mqtt water heater

Brand new to home assistant running on a raspberry pi. I have a econet water heater and I put a mqtt water heater in the configuration.yaml. I already have a broker connected that is working. I used some automations to publish to mqtt topics. How do I connect the water heater control entity to the config.ymal so i can control the water heater through mqtt?