06-21-2024, 08:44 PM (This post was last modified: 06-21-2024, 10:20 PM by telewizard13.
Edit Reason: more info
)
Check your indents and spaces and double check the device code it finds in the log when you install the update. I assume you know each sensor has a unique device code. Here is a screen shot of what I did to my KC868-AIO board's code, so the code line numbers will be different, too. Good luck!
Telewizard13
Did you add the "platform: esphome" under the #Enable Home Assistant API" section? Did you restart the board and Home Assistant? Some changes don't take effect until you do.
Update to ESPHOME 2024.6.1 breaks any sensors on gpio 13 & 14. Go back to earlier version until esphome fixes it. I went back to 2024.5.4 and now my sensors on 13 & 14 work again.
indeed, these days ESPHome have updated 1-wire component, there are some problem. we can wait for they update again. mabye you can post your issue to ESPHome forum.
Then your dallas sensors on gpio13 & 14 will be recognized. I have attached a working KC868-AM YAML file with nine ds18b20 sensors and they all work. Just change the address to yours.
Then your dallas sensors on gpio13 & 14 will be recognized. I have attached a working KC868-AM YAML file with nine ds18b20 sensors and they all work. Just change the address to yours.
Thanks for sharing
With this change in the code, my sensor started working again.