mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-25 16:38:36 +01:00
commit
26369e2a9b
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)
|
return await self.cbpi.config.set(name,value)
|
||||||
|
|
||||||
async def add_config_value(self, name, value, type: ConfigType, description, options=None):
|
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):
|
def get_kettle(self,id):
|
||||||
return self.cbpi.kettle.find_by_id(id)
|
return self.cbpi.kettle.find_by_id(id)
|
||||||
|
|
Loading…
Reference in a new issue