From 65267c6d5563708147fde90c836d2c874e51b0fa Mon Sep 17 00:00:00 2001 From: psilo909 Date: Mon, 17 Jul 2023 20:30:40 +0200 Subject: [PATCH] Webservices: fix for splitting up of autotimer attribute into _value and _time --- webservices/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webservices/__init__.py b/webservices/__init__.py index e63f16fbd..1a099c93d 100755 --- a/webservices/__init__.py +++ b/webservices/__init__.py @@ -263,7 +263,8 @@ def assemble_item_data(self, item, webservices_data='full'): 'eval_trigger': str(item._eval_trigger), 'cycle': str(cycle), 'crontab': str(crontab), - 'autotimer': str(item._autotimer), + 'autotimer_value': str(item._autotimer_value), + 'autotimer_time': str(item._autotimer_time), 'threshold': str(item._threshold), 'config': item_conf_sorted, 'logics': logics, @@ -316,7 +317,7 @@ def itemset(self, set_id=None, mode=None): @cherrypy.tools.json_out() def items(self, item_path=None, value=None, mode=None): """ - Simpole WS functions for item + Simple WS functions for item """ if item_path is None: self.logger.debug(cherrypy.request.method)