mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 22:48:16 +01:00
update currentdashbardnumber to hidden
This commit is contained in:
parent
be77d90c7e
commit
754d8be21f
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
__version__ = "4.1.8.a3"
|
__version__ = "4.1.8.a4"
|
||||||
__codename__ = "Groundhog Day"
|
__codename__ = "Groundhog Day"
|
||||||
|
|
||||||
|
|
|
@ -178,6 +178,9 @@ class ConfigUpdate(CBPiExtension):
|
||||||
await self.cbpi.config.add("current_dashboard_number", 1, type=ConfigType.NUMBER, description="Number of current Dashboard",source="hidden")
|
await self.cbpi.config.add("current_dashboard_number", 1, type=ConfigType.NUMBER, description="Number of current Dashboard",source="hidden")
|
||||||
except:
|
except:
|
||||||
logger.warning('Unable to update database')
|
logger.warning('Unable to update database')
|
||||||
|
else:
|
||||||
|
if CONFIG_STATUS is None:
|
||||||
|
await self.cbpi.config.add("current_dashboard_number", current_dashboard_number, type=ConfigType.NUMBER, description="Number of current Dashboard",source="hidden")
|
||||||
|
|
||||||
## Check if AtuoMode for Steps is in config
|
## Check if AtuoMode for Steps is in config
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue