libretiny
libretiny copied to clipboard
Reset to default
Hello, The function reset reported below doesn't work
switch:
- platform: factory_reset
name: Restart with Factory Default Settings
log
13:11:52 | [D] | [button:010] | 'Restart with Factory Default Settings' Pressed.
13:11:52 | [I] | [factory_reset.button:013] | Resetting to factory defaults...
13:11:52 | [D] | [lt.preferences:161] | Cleaning up preferences in flash...
13:11:53 | [I] | [app:134] | Rebooting safely...
13:11:53 | [D] | [lt.preferences:104] | Saving 1 preferences to flash...
13:11:53 | [D] | [lt.preferences:132] | Saving 1 preferences to flash: 0 cached, 0 written, 1 failed
13:11:53 | [E] | [lt.preferences:135] | Error saving 1 preferences to flash. Last error=8 for key=233825507