update currentdashbardnumber to hidden

This commit is contained in:
avollkopf 2023-04-02 16:32:10 +02:00
parent be77d90c7e
commit 754d8be21f
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.1.8.a3"
__version__ = "4.1.8.a4"
__codename__ = "Groundhog Day"

View file

@ -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")
except:
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