I have installed the sample yaml via esphome and changed to my mac address etc.
When I install the code i get this error
Compiling /data/lounge-blinds/.pioenvs/lounge-blinds/src/esphome/components/am43/am43.cpp.o
Compiling /data/lounge-blinds/.pioenvs/lounge-blinds/src/esphome/components/am43/am43_base.cpp.o
Compiling /data/lounge-blinds/.pioenvs/lounge-blinds/src/esphome/components/am43/cover/am43_cover.cpp.o
In file included from src/esphome/components/am43/am43.cpp:1:0:
src/esphome/components/am43/am43.h:6:46: fatal error: esphome/components/sensor/sensor.h: No such file or directory
compilation terminated.
*** [/data/lounge-blinds/.pioenvs/lounge-blinds/src/esphome/components/am43/am43.cpp.o] Error 1
esphome:
name: lounge-blinds
platform: ESP32
board: nodemcu-32s
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "fabe33f968e45454259943641816"
wifi:
ssid: "xxxxxxxxx"
password: "xxxxxxxxx"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Lounge-Blinds Fallback Hotspot"
password: "YZwaINo1VDpB"
captive_portal:
external_components:
- source: github://buxtronix/esphome-am43
esp32_ble_tracker:
ble_client:
- mac_address: 02:4B:xx:xx:3C:E5
id: am43_lounge
cover:
- platform: am43
name: "lounge blinds"
ble_client_id: am43_lounge
What am I doing wrong?