HausnerR / esphome-door-lock

IoT door lock based on Wemos D1 mini and RC522 RFID module
MIT License
42 stars 18 forks source link

Error: 'KeyValuePair' is not a member of 'esphome :: api' #4

Closed malarconfresno closed 4 years ago

malarconfresno commented 4 years ago

Hello,

I am trying to use a nodeMCU + RC522. When I try to compile and upload in esphome, I get the following error: src / door_lock_rfid.h: 34: 12: error: 'KeyValuePair' is not a member of 'esphome :: api'

Any ideas? Thank you

stefkoch09 commented 4 years ago

Same problem here. In an older version of ESPHome it compiled fine. I guess the code in "door_lock_rfid.h" needs an update.

HausnerR commented 4 years ago

Hey, I fixed code, now it works with newest ESPhome