2024年11月24日星期日 上午8:18:06

4.init first

9 个月 前
#28443 引用
move old lovelace dashboard data to new first core 2024.1.5

step 1.
copy lovelace.dashboard_new to new ha in /.storage/



step 2.
restart docker

docker restart ha


https://github.com/mslycn/Home-AssistantConfig20221103/commit/cee5df6f483aa49256463487623ec9415e6e2f21

https://github.com/mslycn/Home-AssistantConfig20221103/commit/cee5df6f483aa49256463487623ec9415e6e2f21


run ok
0
9 个月 前
#28444 引用
set new  lovelace dashboard as default   first core 2024.1.5

no change all files
https://github.com/mslycn/Home-AssistantConfig20221103/commit/5140989fad69c3d995439989fa34892344566267
0
9 个月 前
#28446 引用
move third party integration

adaptive_lighting
aqara_bridge
aqara_gateway
ble_monitor
chime_tts
edge_tts
hacs
holidays
miio_yeelink
mijia_miot
nodered
xiaomi_gateway3
xiaomi_miio_raw
xiaomi_miot
xiaomi_miot_raw
0
9 个月 前
#28447 引用
move gateway3

step 1. mkdir custom_components
step 2.copy xiaomi_gateway3
step 3.docker restart ha

https://github.com/mslycn/Home-AssistantConfig20221103/commit/e56a084d30ca3e7d2d481e7aab58224904221b00

step 4.docker restart ha and Add Mi Cloud Account in gateway3 integration first core 2024.1.5

https://github.com/mslycn/Home-AssistantConfig20221103/commit/8fbf6a53c2bcb9193bee031592b6e67960eb42df

.storage/core.config_entries changed,new node



{
        "entry_id": "63d72dbb48656c78a8cf78cf0462b312",
        "version": 1,
        "minor_version": 1,
        "domain": "xiaomi_gateway3",
        "title": "*",
        "data": {
          "username": "*",
          "password": "*",
          "servers": [
            "cn"
          ],
          "user_id": *


0
9 个月 前
#28448 引用
add xiaomi miot auto




  
modified:   .storage/bluetooth.passive_update_processor
  modified:   .storage/core.area_registry
  modified:   .storage/core.config_entries
  modified:   .storage/core.device_registry
  modified:   .storage/core.entity_registry
  modified:   .storage/core.restore_state
  modified:   .storage/homekit_controller-entity-map
  modified:   .storage/http
  modified:   .storage/xiaomi_gateway3/1**.json

Untracked files:
  (use "git add <file>..." to include in what will be committed)
  .storage/xiaomi_gateway3/devices.json
  .storage/xiaomi_miot/
  custom_components/xiaomi_miot/__pycache__/
  custom_components/xiaomi_miot/core/__pycache__/


add  every devices in .storage/core.device_registry
https://github.com/mslycn/Home-AssistantConfig20221103/commit/d173acac3005ad674d8b1edf5209d5c30eafe4fd#diff-c811e2675d001c2b5ec245edf79a2ccdcafc2b8e56ecf709c0d79b9de3050152

问题:因为copy 了 以前的.storage,重新添加集成后,重新生成了device,命名为-2
  造成同一设备 2个id,需删除新的id
https://github.com/mslycn/Home-AssistantConfig20221103/commit/6ab371af3a92f7445aa77de92eb820d316f13715
0
9 个月 前
#28449 引用
add System Monitor integration

https://www.home-assistant.io/integrations/systemmonitor


{
        "entry_id": "95d52a323ed53e3cbccb53b0de73b850",
        "version": 1,
        "minor_version": 1,
        "domain": "systemmonitor",
        "title": "System Monitor",
        "data": {},
        "options": {},
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "user",
        "unique_id": null,
        "disabled_by": null
      }




https://github.com/mslycn/Home-AssistantConfig20221103/commit/24dd0d65bddb1baba80a31b6adfb11a63d451a9e
0
9 个月 前
#28450 引用
move scenes

scenes.yaml
0
9 个月 前
#28451 引用
move scripts.yaml

run ok

https://github.com/mslycn/Home-AssistantConfig20221103/commit/e942a183496c070b77d45fc23c1e638250ba596e
0
9 个月 前
#28452 引用
move D:\tmp3\homeassistant20221103\.homeassistant\python_scripts\set_state.py

https://github.com/mslycn/Home-AssistantConfig20221103/commit/eb519cdeffd4f3f566d16a53c7ff02862618032a



0
9 个月 前
#28453 引用
move automations.yaml

https://github.com/mslycn/Home-AssistantConfig20221103/commit/cdf8f33d15c05ade8596ded8f4beef4215ec5ff5

run ok
0