Merge branch 'dev4' of https://github.com/tastendruecker123/ahoy into tastendruecker123-dev4

default of scheduled reboot is now 'false'
This commit is contained in:
lumapu 2023-07-05 23:27:42 +02:00
commit 81a7f09e3a
5 changed files with 19 additions and 0 deletions

View file

@ -210,6 +210,7 @@ class RestApi {
obj[F("hidd")] = mConfig->sys.isHidden;
obj[F("device_name")] = mConfig->sys.deviceName;
obj[F("dark_mode")] = (bool)mConfig->sys.darkMode;
obj[F("sched_reboot")] = (bool)mConfig->sys.schedReboot;
obj[F("mac")] = WiFi.macAddress();
obj[F("hostname")] = mConfig->sys.deviceName;