Commit 78ce852f authored by Matias Guijarro's avatar Matias Guijarro
Browse files

Merge branch 'wagohook_info' into '1.6.x'

WagoHook __info__() written

See merge request bliss/bliss!3150
parents b41f07e3 75f09f74
......@@ -92,6 +92,9 @@ class WagoHook(MotionHook):
)
super(WagoHook, self)._add_axis(axis)
def __info__(self):
return f"WagoHook {self.wago.name} channel {self.channel} STATUS: {self.wago.controller.get(self.channel)}"
def set(self, phase):
value = self.config[phase]["value"]
wait = self.config[phase].get("wait", 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment