Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore possibility to edit content in .esphome folder #4951

Closed
bkbartk opened this issue Oct 6, 2023 · 2 comments
Closed

restore possibility to edit content in .esphome folder #4951

bkbartk opened this issue Oct 6, 2023 · 2 comments

Comments

@bkbartk
Copy link

bkbartk commented Oct 6, 2023

The problem

I am not able to edit content in the .esphome folder anymore
I know about this change https://esphome.io/changelog/2023.9.0.html#home-assistant-add-on
but I was trying to modify some code from an external component to see if the solution I had in mind worked.

I also use this sometimes to modify not merged PRs.

Which version of ESPHome has the issue?

2023.9.0

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2023.9.0

What platform are you using?

ESP32

Board

tuya light bulb; Sonoff ns panel

Component causing the issue

esphome add on.

Example YAML snippet

external_components:
    - source: github://cossid/tasmotadevicegroupsforesphome@main
      components: [ device_groups ]
      refresh: 10 min

Anything in the logs that might be useful for us?

No response

Additional information

It worked before, now not anymore, therefor I consider it as a bug.
I did edit via VS code, but editing in the ESPhome addon would also suffice if this is related to file access.

@ssieb
Copy link
Member

ssieb commented Oct 7, 2023

You should never modify things in there. It is not a bug because it was never intended to work. Any changes in there get overwritten when you compile. If you need to test changes to an external component, then copy it, make the changes, and use your copy instead.

@ssieb ssieb closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2023
@special-k-uk
Copy link

special-k-uk commented Oct 31, 2023

I can see your point for external components, but I'm struggling to find where to store the json for a custom board.

I've been following esphome/feature-requests#1960 (comment) , and I currently include the board definition here

  platformio_options:
    board_dir: boards
    #include https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/blob/master/platformio/boards/lilygo-t5-47-plus.json as custom board
    board: lilygo-t5-47-plus

with the 'boards' directory being located here /config/esphome/.esphome/build/[your-esphome-device]/boards

Now the .epshome folder has been removed, do you know where I should recreate the /boards folder?

@github-actions github-actions bot locked and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants