mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 14:22:38 +00:00
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:
1 parent
9eb1fe61e7
commit
000884b080
7 files changed
+58
-3
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user