You know those moments when you screwed up and you see yourself clicking on the button you shouldn’t click, well, that was me few days ago.
What happened (blame me)
I was manually removing devices and entities from core.entity_registry
and core.device_registry
files and as I press the restart HA button on the browser tab and get back to the VS Code tab (and see the lost connection popup), I noticed I forgot to remove one comma
F********k, it’s too late. Useless to say that HA did not reboot after that.
What have I done to try fixing it
- Power down (manually) the raspberry pi
- removed the SD Card
- installed the tool Linux File Systems for Windows by Paragon Software
- using the app, mounted the ha drive into windows
- edited both files using Notepad++
- saved files
- unmounted sdcard drives
- inserted sdcard back into raspberry pi
- powered it on
After doing that, the HA did not boot/restarted, nor the device (that is connected with a network cable directly to the ISP router) got show up on the router connected devices. Pinging fails, as well as swearing out loud.
.
.
Could I have corrupted the sdcard?
.
Any ideas on what could I do to try recover the HA installation?
.
.
Thanks in advance for your time and help!