Skip to content

Commit

Permalink
Merge pull request arendst#4718 from curzon01/development
Browse files Browse the repository at this point in the history
decode-config.py: adapt settings change
  • Loading branch information
arendst authored Dec 23, 2018
2 parents 7e06585 + fb1d283 commit 2889628
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/decode-config.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -811,7 +811,11 @@ def MqttFingerprint(value, idx=None):
'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),
Expand Down

0 comments on commit 2889628

Please sign in to comment.