config path

step 1.The first start take a while,create dir and files as follow:

  new file:   .homeassistant/.HA_VERSION
  new file:   .homeassistant/.storage/assist_pipeline.pipelines
  new file:   .homeassistant/.storage/auth
  new file:   .homeassistant/.storage/bluetooth.passive_update_processor
  new file:   .homeassistant/.storage/core.config_entries
  new file:   .homeassistant/.storage/core.device_registry
  new file:   .homeassistant/.storage/core.entity_registry
  new file:   .homeassistant/.storage/core.restore_state
  new file:   .homeassistant/.storage/core.uuid
  new file:   .homeassistant/.storage/homeassistant.exposed_entities
  new file:   .homeassistant/.storage/http
  new file:   .homeassistant/.storage/http.auth
  new file:   .homeassistant/.storage/repairs.issue_registry
  new file:   .homeassistant/.storage/trace.saved_traces
  new file:   .homeassistant/automations.yaml
  new file:   .homeassistant/blueprints/automation/homeassistant/motion_light.yaml
  new file:   .homeassistant/blueprints/automation/homeassistant/notify_leaving_zone.yaml
  new file:   .homeassistant/blueprints/script/homeassistant/confirmable_notification.yaml
  new file:   .homeassistant/configuration.yaml
  new file:   .homeassistant/scenes.yaml
  new file:   .homeassistant/scripts.yaml
  new file:   .homeassistant/secrets.yaml
  modified:   .storage/auth
  modified:   .storage/core.entity_registry
  modified:   .storage/core.restore_state
  modified:   .storage/http

https://www.matterxiaomi.com/boards/topic/1100/home-assistant%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6path#28421

no any files exist named with lovelace*,and no any files exist named with energy and overview

root@raspberrypi:/home/homeassistant20221103# ls  lovelace*
ls: cannot access 'lovelace*': No such file or directory

step 2.create new dashboard named with "new"

ha have created two files as follow:

new file:   .storage/lovelace.dashboard_new
new file:   .storage/lovelace_dashboards

detail:http://localhost:4999/boards/topic/20880/4init-first/page/2#28442

 

 

 

https://www.msly.cn/boards/topic/9341/home-assistant-lovelace-ui

Restore the system dashboard?

I just did this but didn’t have to transform anything, just stopped HA, copied the file .storage/lovelace from backup (there could be more than one if you have more than one Dashboard) and restarted HA. Dashboard restored!

 

In case anyone else stumbles on this, remote in to your instance (or use Samba) and go in to the hidden folder .storage in the config folder for your instance. Delete/rename lovelace, lovelace_resources and lovelace_dashboards and restart your instance, you’ll be returned to just the default system Lovelace Dashboard.

 

tar xf 96e49112.tar

tar xzvf homeassistant.tar.gz

 

cd ./data/.storage

 

ls -l

output

-rw------- 1 homeassistant20221103 homeassistant20221103   5414 11月 24 23:23 auth
-rw------- 1 homeassistant20221103 homeassistant20221103    265 11月 23 05:00 auth_provider.homeassistant
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103    147 11月 23 05:27 core.analytics
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103   1072 11月 24 21:34 core.area_registry
-rw------- 1 homeassistant20221103 homeassistant20221103    322 11月 23 05:02 core.config
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103   6905 11月 24 21:35 core.config_entries
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103  19510 11月 24 21:34 core.device_registry
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103 163149 11月 24 21:33 core.entity_registry
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103  46292 11月 24 23:29 core.restore_state
-rw------- 1 homeassistant20221103 homeassistant20221103    126 11月 23 04:24 core.uuid
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103  36083 11月 24 20:29 homekit_controller-entity-map
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103    268 11月 24 20:31 http
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103    134 11月 23 04:07 http.auth
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103   7555 11月 24 13:28 lovelace
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103    319 11月 24 13:31 lovelace_dashboards
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103   7016 11月 24 19:45 lovelace.new_dashboard
-rw------- 1 homeassistant20221103 homeassistant20221103    174 11月 23 05:10 onboarding
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103    302 11月 23 07:40 person
-rw-r--r-- 1 homeassistant20221103 homeassistant20221103 267141 11月 24 20:27 trace.saved_traces
drwxr-xr-x 2 homeassistant20221103 homeassistant20221103   4096 11月 24 20:29 xiaomi_gateway3
drwxr-xr-x 2 homeassistant20221103 homeassistant20221103   4096 11月 24 06:38 xiaomi_miot
 

 

lovelace_dashboards
lovelace.new_dashboard

Overview --> lovelace
 

 

copy   this two files

 from /data/.storage  to /home/homeassistant20221103/.homeassistant/.storage

 

Default dashboards vs auto generated dashboards

There seems to be a lot of confusion about default dashboards and autogenerated dashboards.

 

When you install HA for the first time, you get a global default dashboard called Overview and that is autogenerated.

Once you take control by editing it, it is no longer autogenerated, but it is still the default dashboard.th ha will create new file called lovelace.

/home/homeassistant20221103/.homeassistant/.storage/lovelace

You can create additional dashboards, you can delete additional dashboards, but you cannot delete the global default dashboard called Overview. Otherwise new users won’t have a home page for Home Assistant.

 

Any dashboard can be made an auto-generated dashboard. If you accidentally took control of a dashboard and want it to be autogenerated again, go to raw mode (in the menu in the upper right corner), delete all contents, and save. If you want a self made global dashboard, and have an autogenerated one on the side, create an extra dashboard.

 

Any user can set one of the extra dashboards to be their default in the personal settings. That will hide the global default Overview dashboard from them. It is a per-user, per browser setting, so that is why you cannot delete the global default dashboard called Overview.

 

The default dashboard setting is not very useful if you want to change the default for everyone, or only want one dashboard. If your favorite self made dashboard was not created in Overview, the best way to change that is to edit your favorite dashboard, go to raw mode in the menu in the upper right corner, copy al the code and past it to the raw editor of the “real” default dashboard called Overview. Then you can delete the extra copy.

 

If you want to restore the global default dashboard to an autogenerated one, clear the contents in raw mode (if you want to save what you built there, copy the raw contents to a new dashboard first).

https://community.home-assistant.io/t/restore-the-system-dashboard/289938/5

 

 

How to reset the “Overview Dashboard” back to default.

Steps:

 

1. On the “Overview” screen, click the 3 vertical dots next to the magnifier icon.

2. Select “Edit Dashboard”.

3. Select the 3 vertical dots next to the Circled Question mark icon.

4. Select the option called “Raw configuration editor”.

5. On the keyboard use “Ctrl+A” to select all the text.

6. On the keyboard use either “Delete” and/or “Backspace”.

7. Select the “Save” option in the top right corner.

8. A window will pop up on the screen saying “We will automatically generate your dashboard views with your areas and devices if you remove your dashboard configuration.”

9. Select the option “REMOVE”.

10. Another pop-up window will show, just select “CANCEL”

 

How to reset the “ Dashboard” back to auto generated dashboard.

custom editor dashboard save it's data in a file with Dashboard-your Dashboard name  under .storage directory. you only delete it ,it will back to auto generated data.

way 1.

delete file  named with Dashboard-your Dashboard name in .storage

 

way 2.

Steps:

1. On the “Overview” screen, click the 3 vertical dots next to the magnifier icon.

2. Select “Edit Dashboard”.

3. Select the 3 vertical dots next to the Circled Question mark icon.

4. Select the option called “Raw configuration editor”.

5. On the keyboard use “Ctrl+A” to select all the text.

6. On the keyboard use either “Delete” and/or “Backspace”.

7. Select the “Save” option in the top right corner.

8. A window will pop up on the screen saying “We will automatically generate your dashboard views with your areas and devices if you remove your dashboard configuration.”

9. Select the option “REMOVE”.

10. Another pop-up window will show, just select “SAVE”

Comments


Comments are closed