Skip to content

Commit

Permalink
Webservices: fix for splitting up of autotimer attribute into _value …
Browse files Browse the repository at this point in the history
…and _time
  • Loading branch information
psilo909 committed Jul 17, 2023
1 parent 9e69e1a commit 65267c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webservices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 65267c6

Please sign in to comment.