Closed alexisml closed 1 year ago
I'm now using this one and it works: https://github.com/mmakaay/esphome-xiaomi_bslamp2/blob/8f0f2ac290b6257a83ff19409764449cbe2dcf70/example.yaml However, the one in the repo doesn't: https://github.com/mmakaay/esphome-xiaomi_bslamp2/blob/dev/example.yaml
Fun fact: the two example.yaml files that you references are actually the same. So based on that, it cannot be explained why things started working for you.
As I understand you got things to compile, and it's a bit unclear what happened exactly. Possibly, you ran into the issues as reported in #116, for which a fix has been released. I'll close this ticket, assuming that there are no remaining issues for you.
Fair enough, I actually couldn't find the root cause either :/
I think I found the root cause. The example.yaml on the main
branch. https://github.com/mmakaay/esphome-xiaomi_bslamp2/blob/main/example.yaml.
The dev
branch is the default branch on github, but the ESPHome site for the device links to the main
branch docs.
I got into the repo by first looking at google, then finding the ESPHome site which guided me to the main
branch docs.
Describe the bug I'm getting the following error:
To Reproduce Steps to reproduce the behavior:
Expected behavior That it compiles :)
Additional context Using latest ESPHome: v2023.3.2 https://hub.docker.com/r/esphome/esphome