Merge pull request #4718 from curzon01/development

decode-config.py: adapt settings change
This commit is contained in:
Theo Arends 2018-12-23 13:49:57 +01:00 committed by GitHub
commit 1e66714491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
VER = '2.1.0014'
VER = '2.1.0015'
"""
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
@ -811,7 +811,11 @@ Setting_6_3_0_16['flag3'][0].update ({
'button_switch_force_local':('<L', (0x3A0,1,11), (None, None, ('SetOption', '"SetOption61 {}".format($)')) ),
})
# ======================================================================
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)
# ======================================================================
Settings = [
(0x6040002, 0xe00, Setting_6_4_0_2),
(0x6030010, 0xe00, Setting_6_3_0_16),
(0x603000F, 0xe00, Setting_6_3_0_15),
(0x603000E, 0xe00, Setting_6_3_0_14),