olicooper / esphome-nspanel-lovelace-native

Custom ESPHome component for NSPanel utilising the TFT firmware of the project 'joBr99/nspanel-lovelace-ui'
Other
34 stars 6 forks source link

Build script gets confused if you use external_components source: git #2

Closed CultusMechanicus closed 5 months ago

CultusMechanicus commented 5 months ago

I thought I'd simplify my builds by using

external_components:
  - source:
      type: git
      url: https://github.com/olicooper/esphome-nspanel-lovelace-native
      ref: dev
    components: [ nspanel-lovelace]

However, whatever the build path this uses doesn't get handled by __init.py properly, and the build fails on the first include (icons.json, iirc).

Not a biggie, I just checked the repo out manually and included it as a local external component, but it would simplify updating to new versions if it worked.