allow parsing config with missing keys, added nightlamp config stuff, added nightlamp testing,
This commit is contained in:
@@ -25,9 +25,16 @@ interface FileInfo{
|
||||
}
|
||||
|
||||
interface NightLampConfig {
|
||||
enabled: boolean,
|
||||
night_lamp_hour_start: number,
|
||||
night_lamp_hour_end: number,
|
||||
night_lamp_only_when_dark: boolean,
|
||||
low_soc_cutoff: number,
|
||||
low_soc_restore: number
|
||||
}
|
||||
|
||||
interface NightLampCommand {
|
||||
active: boolean
|
||||
}
|
||||
|
||||
interface TankConfig {
|
||||
|
||||
Reference in New Issue
Block a user