Closed rajil closed 1 year ago
I am trying to compile for a fan controller. Unfortunately, the compile is failing
$ cat home-fan.yaml substitutions: device_name: homemate-fan friendly_name: Bedroom Fan esphome: name: ${device_name} libretiny: board: generic-bk7231n-qfn32-tuya framework: version: dev # Enable logging logger: baud_rate: 0 # Enable Home Assistant API api: ota: captive_portal: wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Enable fallback hotspot in case wifi connection fails ap: ssid: "homemate-fan" password: "Dv2hZMGZRUvy" ap_timeout: 2min reboot_timeout: 5min web_server: port: 80 uart: rx_pin: P10 tx_pin: P11 baud_rate: 9600 tuya:
The compile error is,
~/libretiny-esphome$ python3 -m esphome compile home-fan.yaml INFO Reading configuration home-fan.yaml... Failed config tuya: [source home-fan.yaml:41] Component not found: tuya.
How to fix this?
Realized it needs https://github.com/kuba2k2/libretiny-esphome
I am trying to compile for a fan controller. Unfortunately, the compile is failing
The compile error is,
How to fix this?