logging state

This commit is contained in:
sanjayk03-dev
2024-04-04 11:51:00 +05:30
parent c420060e26
commit a8cf405f15

View File

@@ -283,6 +283,8 @@ class State(object):
def config(self, code, value):
# Set machine variables via mach, others directly
self.log.info('update state using code %s' % code)
self.log.info('update state using value %s' % value)
if code in self.machine_var_set: self.ctrl.mach.set(code, value)
else: self.set(code, value)