Merge pull request #5560 from curzon01/development

decode-config.py: adapt settings
This commit is contained in:
Theo Arends 2019-03-31 13:07:40 +02:00 committed by GitHub
commit d2a1433758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
VER = '2.1.0022'
VER = '2.1.0023'
"""
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
@ -878,7 +878,13 @@ Setting_6_4_1_18['flag3'][0].update ({
'no_hold_retain': ('<L', (0x3A0,1,12), (None, None, ('SetOption', '"SetOption62 {}".format($)')) ),
})
# ======================================================================
Setting_6_5_0_3 = copy.deepcopy(Setting_6_4_1_18)
Setting_6_5_0_3.update({
'novasds_period': ('B', 0x73D, (None, '0 <= $ <= 255', ('Sensor', '"Sensor20 {}".format($)')) ),
})
# ======================================================================
Settings = [
(0x6050003, 0xe00, Setting_6_5_0_3),
(0x6040112, 0xe00, Setting_6_4_1_18),
(0x6040111, 0xe00, Setting_6_4_1_17),
(0x6040110, 0xe00, Setting_6_4_1_16),