mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-25 08:28:23 +01:00
fix add_config_value
This commit is contained in:
parent
2468dab6dd
commit
6a0764a937
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class CBPiBase(metaclass=ABCMeta):
|
|||
return await self.cbpi.config.set(name,value)
|
||||
|
||||
async def add_config_value(self, name, value, type: ConfigType, description, options=None):
|
||||
await self.cbpi.add(name, value, type, description, options=None)
|
||||
await self.cbpi.config.add(name, value, type, description, options=None)
|
||||
|
||||
def get_kettle(self,id):
|
||||
return self.cbpi.kettle.find_by_id(id)
|
||||
|
|
Loading…
Reference in a new issue