2024年11月21日星期四 下午8:14:09

default dashboard changed

10 个月 前
#25228 引用
test create dashboard new2

新增加dashboard new2后,会加一行

.storage/lovelace_dashboards change as follow




{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace_dashboards",
  "data": {
    "items": [
      {
        "id": "dashboard_new",
        "show_in_sidebar": true,
        "title": "Dashboard new",
        "require_admin": true,
        "mode": "storage",
        "url_path": "dashboard-new"
      },
      {
        "id": "new_dashboard_old",
        "show_in_sidebar": true,
        "title": "new dashboard old",
        "require_admin": true,
        "mode": "storage",
        "url_path": "new-dashboard-old"
      },
      {
        "id": "dashboard_new2",
        "show_in_sidebar": true,
        "title": "new2",
        "require_admin": false,
        "mode": "storage",
        "url_path": "dashboard-new2"
      }
    ]
  }
}

0
10 个月 前
#25229 引用
test Take control of your dashboard new2 dashborard    

选Take control of your dashboard 后,会自动生成一个文件lovelace.dashboard_new2。编辑的变化在这个里面

ha  created a new file with name lovelace.dashboard_new2

.storage/lovelace.dashboard_new2



{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace.dashboard_new2",
  "data": {
    "config": {
      "title": "Home",
      "views": [

....

0
10 个月 前
#27331 引用
test del lovelace.dashboard_new2

又恢复为可以Take control of your dashboard
0