Deprecate Home Assistant entity attributes (#7683)

* Deprecate Home Assistant entity attributes

* Adjust test to match latest dev

* Set default only for new installations

* Fix tests
This commit is contained in:
Franck Nijhof authored and GitHub committed 2021-06-08 15:33:14 +02:00
1 parent 9eb1fe61e7
commit 000884b080
7 files changed
+58 -3

No files matched your search

+1
View File
@@ -117,6 +117,7 @@ class Controller {
// Disable some legacy options on new network creation
if (startResult === 'reset') {
settings.set(['advanced', 'homeassistant_legacy_entity_attributes'], false);
settings.set(['advanced', 'legacy_api'], false);
settings.set(['device_options', 'legacy'], false);
this.enableDisableExtension(false, 'BridgeLegacy');