I’ve now been using home assist­ant for sev­er­al years and most of the early chal­lenges and learn­ing-curves have been over-come. 但し, there has been a long-stand­ing issue that is a con­stant frus­tra­tion — remov­ing old devices does­n’t have a stand­ard approach and in some case is impossible from the GUI. しかし方法があります.

デバイス (and entit­ies) 削除できます (or mod­i­fied) the manu­al way dir­ectly from home assist­ant sys­tem files. 必要になる可能性のあるファイルのいくつかは、core.device_registryおよびcore.config_entriescore.entity_registryと呼ばれます。. These are loc­ated in \config\.storage\ whcih (as a win­dows user) I access via the “Samba Share” super­visor add-on. If you don’t have super­visor you may need to access these files a dif­fer­ent way.

I used this to remove a dead Drayton Wiser TRV from HA — by delet­ing the whole rel­ev­ant sec­tion from core.device_registry…

"config_entries": [
"connections": [],
"identifiers": [
"manufacturer": "Drayton Wiser",
"model": "iTRV",
"name": "Wiser iTRV-Dead",
"sw_version": "xxxxxxxx",
"entry_type": null,
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"via_device_id": null,
"area_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name_by_user": "Dead TRV",
"disabled_by": null,
"configuration_url": null

また 2 sec­tions (のために 2 asso­ci­ated entit­ies) core.entity_registryから (I haven’t shown these as they should be obvi­ous — the format is the same as above with the sec­tions enclosed by curly-braces)


また、core.config_entriesへの変更を使用して IP onvifのアドレス IP cam­era which home assist­ant was refus­ing to con­nect to after the IP かわった. The same is no doubt pos­sible for oth­er devices.

どう思いますか? 私たちは以下のコメントをドロップ! あなたが購読したい場合は、右上のメニューで購読リンクをご利用ください. また、下記の社会的なリンクを使用してお友達とこれを共有することができます. 乾杯.