I need some help as I don’t understand how this works now.
Some time ago I built a Pool Water Temperature monitor by following the instructions in this document
The Main reason I liked it in the first place was it was compatible with HA and there was the code already written to enter into my configuration.yaml.
This was the code from the document.
It has worked fine and still is but now I get this repair warning
but I do have this integration in my Devices & Services
Which I vaguely remember appearing at some stage but don’t know how or why. My memory is not what it use to be.
The “mqtt:” config section was there because at one time the mqtt broker configuration was configured in yaml. That has since been moved to UI config only so that section is no longer needed so you likely removed it then.
the last section (with mqtt at the beginning) is the actual sensor configuration. Somewhere on a line above there somewhere you will have “sensor:” setting up that code as an mqtt sensor.
now all mqtt stuff goes under the “mqtt:” header (just like all sensors go under the “sensor:” header, etc). Yes, it makes it a bit confusing if you’ve been here for while. Or at all since this question has been asked a hundred times in the last couple of weeks.