code: def value(self):
          
          return (
              -self.enable_device.value
              if self.phase_device.is_active else
              self.enable_device.value
          )
docs: Represents the speed of the motor as a floating point value between -1
          (full speed backward) and 1 (full speed forward).