geoffdavis / esphome-mitsubishiheatpump

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

Query - How to build locally #115

Open netmindz opened 9 months ago

netmindz commented 9 months 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 5 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://...