libretiny-eu / libretiny

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

Missing components in HomeAssistant #143

Closed llluis closed 1 year ago

llluis commented 1 year ago

Hi,

I can compile and upload libretiny-esphome to my Tuya device. INFO ESPHome 2023.6.0-dev

Using the web_server component I can see all my other components, like buttons, switches, light, etc. However, the device in HomeAssistant is missing some of them.

For instance, I have:

binary_sensor:
  - platform: gpio
    id: power_sensor
    pin:
      number: D2
      inverted: True
  - platform: gpio
    id: my_button
    pin:
      number: D4
      inverted: True

Those are not show in HomeAssistant. But are present in the WebServer...

I have several other esphome/esp8266 devices working fine.

Am I missing something? Is this a known limitation?

llluis commented 1 year ago

Yeah, it happens we miss something sometimes... Forget about it, I was missing the name property for them.