I’ve now been using home assistant for several years and most of the early challenges and learning-curves have been over-come. কীভাবে কখনও, there has been a long-standing issue that is a constant frustration — removing old devices doesn’t have a standard approach and in some case is impossible from the গ্রাফিক্যাল ইউজার ইন্টারফেস. যদিও উপায় আছে.
ডিভাইস (and entities) মুছে ফেলা যেতে পারে (or modified) the manual way directly from home assistant system files. আপনার প্রয়োজন হতে পারে এমন কিছু ফাইলকে বলা হয় core.device_registry এবং core.config_entries core.entity_registry. These are located in \config\.storage\ whcih (as a windows user) I access via the “Samba Share” supervisor add-on. If you don’t have supervisor you may need to access these files a different way.
I used this to remove a dead Drayton Wiser TRV from HA — by deleting the whole relevant section from core.device_registry…
{
"config_entries": [
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
],
"connections": [],
"identifiers": [
[
"wiser",
"iTRV-2"
]
],
"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 sections (জন্য 2 associated entities) core.entity_registry থেকে (I haven’t shown these as they should be obvious — the format is the same as above with the sections enclosed by curly-braces)
অন্যান্য ব্যবহার
আমি পরিবর্তন করতে core.config_entries-এ পরিবর্তন ব্যবহার করেছি আইপি একটি অনভিফের ঠিকানা আইপি camera which home assistant was refusing to connect to after the আইপি পরিবর্তিত. The same is no doubt possible for other devices.
মনে করি আমরা কিছু মিস করেছি? আমাদের নীচের মন্তব্য করে জানতে দিন. আপনি সদস্যতা করতে চান তাহলে উপরের ডানদিকের মেনু এর লিঙ্কে সাবস্ক্রাইব ব্যবহার করুন. এছাড়াও আপনি নীচের সামাজিক লিঙ্ক ব্যবহার করে আপনার বন্ধুদের সাথে ভাগ করতে পারেন. চিয়ার্স.
ধন্যবাদ ! it works for me!
On debian, use /usr/share/hassio/homeassistant/.storage
I have succesfully delete 7 old devices kept in agentdvr intégration