mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 22:11:22 +00:00
Enable new api by default. https://github.com/Koenkk/zigbee2mqtt/issues/3281
This commit is contained in:
1 parent
1c634dde60
commit
9ff232fbb2
15 files changed
+14
-37
No files matched your search
@@ -174,6 +174,7 @@ function* getExternalConvertersDefinitions(settings) {
|
||||
|
||||
function toSnakeCase(value) {
|
||||
if (typeof value === 'object') {
|
||||
value = {...value};
|
||||
for (const key of Object.keys(value)) {
|
||||
const keySnakeCase = toSnakeCase(key);
|
||||
if (key !== keySnakeCase) {
|
||||
|
||||
Reference in new issue
Block a user