DIY मीडिया होम लोगो

अपनी खुद की होम थिएटर और हाय-Fi सेटअप डिजाइन और बनाने के लिए परम साइट.

1Home Assistant से कोई भी डिवाइस हटाएं

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 जीयूआई. हालांकि एक रास्ता है.

उपकरण (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_entries core.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 में परिवर्तन का भी उपयोग किया है आईपी एक ऑनवीफ का पता आईपी cam­era which home assist­ant was refus­ing to con­nect to after the आईपी बदला हुआ. The same is no doubt pos­sible for oth­er devices.

उत्तर छोड़ दें

एक कमेंट

Rडीवीडी रिप

धन्यवाद ! डीवीडी रिप!
On debi­an, use /usr/share/hassio/homeassistant/.storage
I have suc­ces­fully delete 7 old devices kept in agent­dvr intégration

जवाब दें