mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 14:01:20 +00:00
Allow to specify full file name in value reference '!' (#14955)
* Extract parsing of value reference '!' in settings into a function * Allow to specify full file name in value reference '!' This `network_key: '!secret network_key'` is really confusing because it looks like a YAML tag named 'secret' and a value "network_key". When we write `network_key: '!secret.yaml network_key'` instead, it's a little clearer what's going on. Also, it's more consistent with file references in 'devices' and 'groups'.
This commit is contained in:
1 parent
d05ef70901
commit
a2f8534823
2 files changed
+21
-10
No files matched your search
@@ -199,7 +199,7 @@ describe('Settings', () => {
|
||||
mqtt: {
|
||||
server: '!secret server',
|
||||
user: '!secret username',
|
||||
password: '!secret password',
|
||||
password: '!secret.yaml password',
|
||||
},
|
||||
advanced: {
|
||||
network_key: '!secret network_key',
|
||||
|
||||
Reference in new issue
Block a user