Add save to flash paramtree item

This commit is contained in:
atse 2023-07-28 11:34:34 +08:00 committed by Tse Kwok Yan
parent dd69bd1d80
commit c4c65de8f4
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ THERMOSTAT_PARAMETERS = [[
{'name': 'Temperature Swing', 'type': 'float', 'value': 1.5, 'step': 0.1, 'siPrefix': True, 'suffix': '°C'},
{'name': 'Run', 'type': 'action', 'tip': 'Run'},
]},
]}
]},
{'name': 'Save to flash', 'type': 'action', 'tip': 'Save config to flash', 'commands': [f'save {ch}']}
] for ch in range(2)]