Merge pull request #5998 from curzon01/development

decode-config.py: adapt settings
This commit is contained in:
Theo Arends 2019-06-30 17:48:10 +02:00 committed by GitHub
commit 1985987820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
VER = '2.2.0027'
VER = '2.2.0028'
"""
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
@ -918,7 +918,13 @@ Setting_6_5_0_12.update({
'sps30_inuse_hours': ('B', 0x1E8, (None, None, ('System', None)) ),
})
# ======================================================================
Setting_6_5_0_15 = copy.deepcopy(Setting_6_5_0_12)
Setting_6_5_0_15['flag3'][0].update ({
'tuya_show_dimmer': ('<L', (0x3A0,1,15), (None, None, ('SetOption', '"SetOption65 {}".format($)')) ),
})
# ======================================================================
Settings = [
(0x605000F, 0xe00, Setting_6_5_0_15),
(0x605000C, 0xe00, Setting_6_5_0_12),
(0x605000B, 0xe00, Setting_6_5_0_11),
(0x605000B, 0xe00, Setting_6_5_0_11),