decode-config.py: adapt settings

- add Sensor20 (novasds_period)
This commit is contained in:
Norbert Richter 2019-03-31 12:23:09 +02:00
parent f7c30250c1
commit d310373c28
1 changed files with 7 additions and 1 deletions

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),