The initial error message says dallas should be one_wire but then I get into a spiral of error messages that never seem to resolve the issue. ChatGPT and Gemini have both failed to sort it out. Is there a human out there that can help? Many thanks!
Well no surprises there. The component was changed after they were trained. Rather than relying on outdated bulshit LLMs try reading the official documentation, It has a very clear examples.
[20:38:55][W][component:170]: Component dallas_temp.sensor cleared Warning flag
[20:38:56][W][dallas.temp.sensor:139]: 'HW Temperature' - Scratch pad checksum invalid!
[20:38:56][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
[20:38:56][D][sensor:093]: 'HW Temperature': Sending state nan °C with 1 decimals of accuracy
[20:39:16][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[20:39:55][W][component:170]: Component dallas_temp.sensor cleared Warning flag
[20:39:56][W][dallas.temp.sensor:139]: 'HW Temperature' - Scratch pad checksum invalid!
[20:39:56][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
[20:39:56][D][sensor:093]: 'HW Temperature': Sending state nan °C with 1 decimals of accuracy
[20:40:55][W][component:170]: Component dallas_temp.sensor cleared Warning flag
[20:40:56][W][dallas.temp.sensor:139]: 'HW Temperature' - Scratch pad checksum invalid!
[20:40:56][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
[20:40:56][D][sensor:093]: 'HW Temperature': Sending state nan °C with 1 decimals of accuracy
[20:41:33][D][switch:016]: 'HW RELAY' Turning OFF.
[20:41:55][W][component:170]: Component dallas_temp.sensor cleared Warning flag
[20:41:56][W][dallas.temp.sensor:139]: 'HW Temperature' - Scratch pad checksum invalid!
[20:41:56][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
[20:41:56][D][sensor:093]: 'HW Temperature': Sending state nan °C with 1 decimals of accuracy
[20:42:55][W][component:170]: Component dallas_temp.sensor cleared Warning flag
[20:42:56][W][dallas.temp.sensor:139]: 'HW Temperature' - Scratch pad checksum invalid!
[20:42:56][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
[20:42:56][D][sensor:093]: 'HW Temperature': Sending state nan °C with 1 decimals of accuracy
Very long thread indicating others see something similar.
I do not currently have any DS18B20 sensors on esphome, but I did have one last year and it worked fine. I mainly use Tasmota with ESP8266 and they all generally work fine and have for as much as more than a decade.
Hello again. It turns out I’d made a mistake with the address. The address in the log didn’t match the address in the code. I’ve corrected that now and it seems to be working fine.
Thank you for the earlier help, which was also essential to fixing the problem.