From 2bf4b7c60e475cb8b0e91a1d1c9793f7e94dc0a9 Mon Sep 17 00:00:00 2001 From: Norbert Richter Date: Fri, 4 Jan 2019 10:24:46 +0100 Subject: [PATCH] decode-config.py: adapt settings, fix warning - add SetOption55 (mdns_enabled) - fix string warning - change file handling --- tools/decode-config.py | 120 ++++++++++++++++++----------------------- 1 file changed, 52 insertions(+), 68 deletions(-) diff --git a/tools/decode-config.py b/tools/decode-config.py index 52cb63673..7816ff728 100755 --- a/tools/decode-config.py +++ b/tools/decode-config.py @@ -1,11 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -VER = '2.1.0015' +VER = '2.1.0016' """ decode-config.py - Backup/Restore Sonoff-Tasmota configuration data - Copyright (C) 2019 Norbert Richter + Copyright (C) 2018 Norbert Richter This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -814,7 +814,13 @@ Setting_6_3_0_16['flag3'][0].update ({ Setting_6_4_0_2 = copy.deepcopy(Setting_6_3_0_16) Setting_6_4_0_2['flag3'][0].pop('hass_short_discovery_msg',None) # ====================================================================== +Setting_6_4_1_4 = copy.deepcopy(Setting_6_4_0_2) +Setting_6_4_1_4['flag3'][0].update ({ + 'mdns_enabled': ('