libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
383 stars 55 forks source link

Add new device YAML uses deprecated LibreTiny component #168

Closed gb0101010101 closed 8 months ago

gb0101010101 commented 10 months ago

The LibreTiny component was split between supported chip families but the "New Device" button still generates the old format YAML.

EspHome Libretiny v2023.9.0-dev installed within Home Assistant as Addon.

Reproduce: Click on New Device. Select any LibreTiny board. View YAML config. Shows:

libretiny:
  board: cb3s
  framework:
    version: dev

When it should be:

bk72xx:
  board: cb3s
  framework:
    version: dev
kuba2k2 commented 10 months ago

How did you install the add-on? (and where from exactly) LibreTiny has been merged into ESPHome already, and is available in the official dev channel of ESPHome add-on. That version doesn't have LibreTiny in the wizard at all (decision of the team to postpone modifying the wizard).

catalin2402 commented 10 months ago

Also available in the beta channel of ESPHome :)

gb0101010101 commented 9 months ago

How did you install the add-on? (and where from exactly)

LibreTiny ESPHome was installed as Addon within HAOS virtual machine.

LibreTiny has been merged into ESPHome already...

OK, great to hear that. Will migrate configs.

gb0101010101 commented 8 months ago

Migrated configs from LibreTiny ESPhome and everything works. Uninstalled LibreTiny ESPhome.

Thanks for the great work on this. Its a real game changer that the Beken chips are supported.