forked from M-Labs/thermostat
Add save to flash paramtree item
This commit is contained in:
parent
4be6d419f6
commit
ac51476d59
|
@ -55,7 +55,8 @@ THERMOSTAT_PARAMETERS = [[
|
||||||
{'name': 'Temperature Swing', 'type': 'float', 'value': 1.5, 'step': 0.1, 'siPrefix': True, 'suffix': '°C'},
|
{'name': 'Temperature Swing', 'type': 'float', 'value': 1.5, 'step': 0.1, 'siPrefix': True, 'suffix': '°C'},
|
||||||
{'name': 'Run', 'type': 'action', 'tip': 'Run'},
|
{'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)]
|
] for ch in range(2)]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue