Compile Error with miot_ylxx0xyl_pair
Styx85 opened this issue · 1 comments
Styx85 commented
When compiling the miot_ylxx0xyl_pair component to obtain the beacon key for my YLYK01YL I get two errors:
First:
INFO Reading configuration /config/esphome/esphome-ble-test.yaml...
Failed config
text_sensor.miot_ylxx0xyl_pair: [source /config/esphome/esphome-ble-test.yaml:45]
platform: miot_ylxx0xyl_pair
name: miot_ylxx0xyl_pair Bindkey
ble_client_id: remote_ble_client_id
Icons must match the format "[icon pack]:[icon]", e.g. "mdi:home-assistant".
version:
name: miot_ylxx0xyl_pair Version
This one is circumvented if you drop the
version:
name: miot_ylxx0xyl_pair Version
part.
If I try to compile then I get following error:
Compiling /data/esphome-ble-test/.pioenvs/esphome-ble-test/src/main.cpp.o
src/main.cpp: In function 'void setup()':
src/main.cpp:241:69: error: 'class esphome::ble_client::BLEClient' has no member named 'address'; did you mean 'address_'?
miot_ylxx0xyl_miotylxx0xylpair->set_address(remote_ble_client_id->address);
^~~~~~~
address_
*** [/data/esphome-ble-test/.pioenvs/esphome-ble-test/src/main.cpp.o] Error 1
========================= [FAILED] Took 37.63 seconds =========================