Add kiosk settings

This commit is contained in:
2022-07-22 18:25:53 +00:00
parent c7ce90883b
commit 5f2e7d7bfa
9 changed files with 152 additions and 60 deletions

View File

@@ -11,7 +11,8 @@ _LOGGER = logging.getLogger(__name__)
@attr.s
class Settings:
kiosk = attr.ib(type=bool, default=None)
hideSidebar = attr.ib(type=bool, default=None)
hideHeader = attr.ib(type=bool, default=None)
defaultPanel = attr.ib(type=str, default=None)
sidebarPanelOrder = attr.ib(type=list, default=None)
sidebarHiddenPanels = attr.ib(type=list, default=None)