Sardana motor widget - cont'd
Description
There was an issue with the motor widget when testing against a real icepap motor. This fix should take care of it.
Added subscription to PowerOn
to subscribe to the attribute. Changed to the correct poweron
attribute when fetching its value. Lastly also checking for typeof boolean instead, it seemed more safe since null
was reported as an object which caused it to try to change the power
value on an icepap motor.
Tests included/Docs Updated?
-
Included for each change/fix? -
Passing? (Merge will not be approved unless this is checked) -
Docs updated? -
New packages used/requires npm install? -
Toggle added for new features?
Closes #118 (closed)