mirror of https://github.com/arendst/Tasmota.git
decode-config.py: adapt settings
- add Sensor20 (novasds_period)
This commit is contained in:
parent
f7c30250c1
commit
d310373c28
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue