geoffdavis / esphome-mitsubishiheatpump

ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connection
BSD 2-Clause "Simplified" License
588 stars 158 forks source link

Query - How to build locally #115

Open netmindz opened 1 year ago

netmindz commented 1 year ago

I'm trying to write my own custom component following your example.

Do you have a platformio.ini file that can be used to compile the code locally so I don't need to keep pushing commits to git to then try and run the build of the full image in ESPHome?

echavet commented 10 months ago

old message but actually if you want to do that you just have to get the sources from rep in a local directory and use:

external_components:
 - source:
     type: local
     path: components

in place of

external_components:
 - source: github://...