I’m trying to setup a pair of DS18B20 sensors for a refrigerator and freezer, and I’m getting an “Invalid YAML syntax” message. I’ve tried to set it us following the YouTube example from mostlychris where he used an ESP8266, but even with a single sensor, I’m getting the error message. It did work with the ESP8266, but all I have available right now is an ESP32.
The YAML code that is failing is:
As a purchaser of a HA-Yellow, I am not just sucking knowledge from the community, I’ve supported it some by purchasing the HA device. I could have used one of the PI4’s that I already had.
I’m not sure what the preformatting tags are, but I solved the problem, and having it formatted properly would probably would have helped. The text I entered looked like what I saw in the editor, but I had failed to double space after the “- platform:” entry.