From 6a0764a9373e9a49c97d2213af2f775ef4196eed Mon Sep 17 00:00:00 2001 From: Guy Date: Fri, 12 Feb 2021 12:13:32 +0200 Subject: [PATCH] fix add_config_value --- cbpi/api/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbpi/api/base.py b/cbpi/api/base.py index d56ef43..dff0f1d 100644 --- a/cbpi/api/base.py +++ b/cbpi/api/base.py @@ -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)