Add save to flash paramtree item

This commit is contained in:
atse 2023-07-28 11:34:34 +08:00
parent 4be6d419f6
commit ac51476d59

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