esphome / esphome/feature-requests

Add option to change compile location to CLI

Open
#535 0 comments 1 reaction 0 assignees View on GitHub
Type: CLI
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**
I use the Windows CLI for compiling/running ESPHome and it works really well. However, it would be good to be able to set an optional configuration or command line argument to be able to store the compilation results in a different specified folder, rather than only defaulting to the same folder in which the YAML is stored.

**Please describe your use case for this integration and alternatives you've tried:**
I have all my various ESPHome YAML files in one folder and therefore also a bunch of subfolders where the compiled results are. I like to sync my YAML files so I have this folder in Google Drive. However, the issue is that it uses a bunch of unnecessary space and files on Google Drive because of the compile results (I only want to sync the YAML files). If I could reroute the compile results to somewhere outside the Google Drive folder that would be perfect.

I'm aware there are other solutions - I could change my Drive setup to filter certain files, or copy the YAMLs over to a separate folder or use Github, but these all have some drawbacks.

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.